]> code.delx.au - gnu-emacs/commitdiff
(bcopy, bzero, bcmp): If HAVE_BCOPY, don't #define.
authorRichard M. Stallman <rms@gnu.org>
Thu, 25 Nov 1993 09:38:56 +0000 (09:38 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 25 Nov 1993 09:38:56 +0000 (09:38 +0000)
src/m/hp800.h

index 1b0e8143d8974391ce835cbc7fd43f68132a4ee0..c20403713ce8d6c41e9666d20113c07d6a6624db 100644 (file)
@@ -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. */