# HG changeset patch # User Francesco Potort # Date 759510247 0 # Node ID ee396244a9a62b5aaad6647bbe40894f661290f6 # Parent 139b23d6a97b58a7284e9c30ee355dbd3e74eed3 * m/delta.h (HAVE_BCOPY): undef'd for efficiency. (bcopy, bzero, bcmp): define'd for efficiency. (GAP_USE_BCOPY, BCOPY_DOWNWARD_SAFE): define'd for GHc compiler. diff -r 139b23d6a97b -r ee396244a9a6 src/m/delta.h --- a/src/m/delta.h Tue Jan 25 00:09:55 1994 +0000 +++ b/src/m/delta.h Tue Jan 25 15:04:07 1994 +0000 @@ -143,6 +143,10 @@ #define HAVE_TIMEVAL #define SIGNALS_VIA_CHARACTERS #define BROKEN_CLOSEDIR /* builtin closedir is interruptible */ +#undef HAVE_BCOPY /* b* functions are just stubs to mem* ones */ +#define bcopy(from,to,bytes) memcpy(to,from,bytes) +#define bzero(to,bytes) memset(to,0,bytes) +#define bcmp memcmp #define memmove safe_bcopy /* for overlapping copies */ #undef KERNEL_FILE #define KERNEL_FILE "/sysv68" @@ -218,6 +222,8 @@ the Green Hills compiler to create stack frames even for functions with few local variables. */ # define C_SWITCH_MACHINE -ga -O +# define GAP_USE_BCOPY /* *++to = *++from is inefficient */ +# define BCOPY_DOWNWARD_SAFE /* bcopy does: mov.b (%a1)+,(%a0)+ */ # else /* We are using the standard AT&T Portable C Compiler */ # define SWITCH_ENUM_BUG