From 088aaa2d2cd2074ebe7ad212d6d29ac3f8ae46e3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 25 Nov 1993 09:38:56 +0000 Subject: [PATCH] (bcopy, bzero, bcmp): If HAVE_BCOPY, don't #define. --- src/m/hp800.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/m/hp800.h b/src/m/hp800.h index 1b0e8143d89..c20403713ce 100644 --- a/src/m/hp800.h +++ b/src/m/hp800.h @@ -174,10 +174,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #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. */ -- 2.39.5