summaryrefslogtreecommitdiff
path: root/src/m/hp800.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-11-25 09:38:56 +0000
committerRichard M. Stallman <rms@gnu.org>1993-11-25 09:38:56 +0000
commit088aaa2d2cd2074ebe7ad212d6d29ac3f8ae46e3 (patch)
tree99f5a70efb802ebb041c6084cb8b65d43c5a60bc /src/m/hp800.h
parent5f8cdaf226e6b0d36965d2d72f0e7c264b05f8ac (diff)
downloademacs-088aaa2d2cd2074ebe7ad212d6d29ac3f8ae46e3.tar.gz
(bcopy, bzero, bcmp): If HAVE_BCOPY, don't #define.
Diffstat (limited to 'src/m/hp800.h')
-rw-r--r--src/m/hp800.h4
1 files changed, 4 insertions, 0 deletions
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. */