comparison src/m/delta.h @ 5669:ee396244a9a6

* 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.
author Francesco Potortì <pot@gnu.org>
date Tue, 25 Jan 1994 15:04:07 +0000
parents 83b4ead7031f
children 62cdd56aa99f
comparison
equal deleted inserted replaced
5668:139b23d6a97b 5669:ee396244a9a6
141 #define HAVE_SELECT 141 #define HAVE_SELECT
142 #define HAVE_SOCKETS /***** only if NSE has been installed *****/ 142 #define HAVE_SOCKETS /***** only if NSE has been installed *****/
143 #define HAVE_TIMEVAL 143 #define HAVE_TIMEVAL
144 #define SIGNALS_VIA_CHARACTERS 144 #define SIGNALS_VIA_CHARACTERS
145 #define BROKEN_CLOSEDIR /* builtin closedir is interruptible */ 145 #define BROKEN_CLOSEDIR /* builtin closedir is interruptible */
146 #undef HAVE_BCOPY /* b* functions are just stubs to mem* ones */
147 #define bcopy(from,to,bytes) memcpy(to,from,bytes)
148 #define bzero(to,bytes) memset(to,0,bytes)
149 #define bcmp memcmp
146 #define memmove safe_bcopy /* for overlapping copies */ 150 #define memmove safe_bcopy /* for overlapping copies */
147 #undef KERNEL_FILE 151 #undef KERNEL_FILE
148 #define KERNEL_FILE "/sysv68" 152 #define KERNEL_FILE "/sysv68"
149 #undef LDAV_SYMBOL 153 #undef LDAV_SYMBOL
150 #ifdef SIGIO 154 #ifdef SIGIO
216 /* Required only for use with Green Hills compiler: 220 /* Required only for use with Green Hills compiler:
217 -ga Because alloca relies on stack frames. This option forces 221 -ga Because alloca relies on stack frames. This option forces
218 the Green Hills compiler to create stack frames even for 222 the Green Hills compiler to create stack frames even for
219 functions with few local variables. */ 223 functions with few local variables. */
220 # define C_SWITCH_MACHINE -ga -O 224 # define C_SWITCH_MACHINE -ga -O
225 # define GAP_USE_BCOPY /* *++to = *++from is inefficient */
226 # define BCOPY_DOWNWARD_SAFE /* bcopy does: mov.b (%a1)+,(%a0)+ */
221 # else 227 # else
222 /* We are using the standard AT&T Portable C Compiler */ 228 /* We are using the standard AT&T Portable C Compiler */
223 # define SWITCH_ENUM_BUG 229 # define SWITCH_ENUM_BUG
224 # endif 230 # endif
225 231