# HG changeset patch # User Richard M. Stallman # Date 754220336 0 # Node ID 7099e53fe4eb3a9367b5564756c925a2e0a56bf5 # Parent bb40928e9e47fec1ec6ef878f5bcaa51bb0c45ba (bcopy, bzero, bcmp): If HAVE_BCOPY, don't #define. diff -r bb40928e9e47 -r 7099e53fe4eb src/m/hp800.h --- a/src/m/hp800.h Thu Nov 25 08:12:35 1993 +0000 +++ b/src/m/hp800.h Thu Nov 25 09:38:56 1993 +0000 @@ -174,10 +174,14 @@ #endif /* Define the BSTRING functions in terms of the sysV functions. */ +/* On HPUX 8.05, including types.h can include strings.h + which defines these as macros. Hence the #ifndefs. */ +#ifndef HAVE_BCOPY #define bcopy(a,b,s) memcpy (b,a,s) #define bzero(a,s) memset (a,0,s) #define bcmp memcmp +#endif /* On USG systems these have different names. */