changeset 5175:7099e53fe4eb

(bcopy, bzero, bcmp): If HAVE_BCOPY, don't #define.
author Richard M. Stallman <rms@gnu.org>
date Thu, 25 Nov 1993 09:38:56 +0000
parents bb40928e9e47
children 29bc8be2c604
files src/m/hp800.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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. */