X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=x2p%2Fa2p.h;h=f4dcd268ff2567b763bb498147e1f02543a5801e;hb=edea50ec06f651303560542ed76f678a723a191d;hp=290b4b980f3ea4f3a110620981f8aa39a517f9b7;hpb=20ce7b12268a3d32b5b246928de5084322e709cf;p=p5sagit%2Fp5-mst-13.2.git diff --git a/x2p/a2p.h b/x2p/a2p.h index 290b4b9..f4dcd26 100644 --- a/x2p/a2p.h +++ b/x2p/a2p.h @@ -1,6 +1,6 @@ /* $RCSfile: a2p.h,v $$Revision: 4.1 $$Date: 92/08/07 18:29:09 $ * - * Copyright (c) 1991-1997, Larry Wall + * Copyright (c) 1991-2001, Larry Wall * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -73,9 +73,7 @@ #define MEM_SIZE Size_t -#ifdef STANDARD_C -# include -#else +#ifndef STANDARD_C Malloc_t malloc (MEM_SIZE nbytes); Malloc_t calloc (MEM_SIZE elements, MEM_SIZE size); Malloc_t realloc (Malloc_t where, MEM_SIZE nbytes); @@ -88,19 +86,11 @@ # include #endif -#if !defined(HAS_BCOPY) || defined(__cplusplus) -# define bcopy(s1,s2,l) memcpy(s2,s1,l) -#endif -#if !defined(HAS_BZERO) || defined(__cplusplus) -# define bzero(s,l) memset(s,0,l) -#endif - #if !defined(HAS_STRCHR) && defined(HAS_INDEX) && !defined(strchr) #define strchr index #define strrchr rindex #endif - #ifdef I_TIME # include #endif @@ -123,6 +113,7 @@ #ifdef DOSISH # if defined(OS2) +# define PTHX_UNUSED # include "../os2ish.h" # else # include "../dosish.h"