comparison src/m/hp800.h @ 48438:874e8459e48a

(bcopy, bzero, bcmp): Don't define.
author Dave Love <fx@gnu.org>
date Mon, 18 Nov 2002 16:45:33 +0000
parents 4be8406ebef9
children 23a1cea22d13
comparison
equal deleted inserted replaced
48437:afd7531a5181 48438:874e8459e48a
71 #define XMARKBIT(a) ((a) < 0) 71 #define XMARKBIT(a) ((a) < 0)
72 #define XSETMARKBIT(a,b) ((a) = ((b) ? (a)|MARKBIT : (a) & ~MARKBIT)) 72 #define XSETMARKBIT(a,b) ((a) = ((b) ? (a)|MARKBIT : (a) & ~MARKBIT))
73 73
74 #if 0 /* Loses when sign bit of type field is set. */ 74 #if 0 /* Loses when sign bit of type field is set. */
75 #define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS)) 75 #define XUNMARK(a) ((a) = (((a) << BITS_PER_INT-GCTYPEBITS-VALBITS) >> BITS_PER_INT-GCTYPEBITS-VALBITS))
76 #endif
77
78 /* Define the BSTRING functions in terms of the sysV functions. */
79 /* On HPUX 8.05, including types.h can include strings.h
80 which declares these as functions. Hence the #ifndef. */
81
82 #ifndef HAVE_BCOPY
83 #define bcopy(a,b,s) memcpy (b,a,s)
84 #define bzero(a,s) memset (a,0,s)
85 #define bcmp memcmp
86 #endif 76 #endif
87 77
88 /* Common definitions for HPUX and GNU/Linux. */ 78 /* Common definitions for HPUX and GNU/Linux. */
89 79
90 #if defined (__hpux) || defined (GNU_LINUX) 80 #if defined (__hpux) || defined (GNU_LINUX)