aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrancesco Potortì1994-01-25 15:04:07 +0000
committerFrancesco Potortì1994-01-25 15:04:07 +0000
commit77dc8ce528f74b15f61d25e832925cc1b5f32c4b (patch)
tree07477e8b781444d9e5d77706f85b02330252f5f0 /src
parentadae5323e72a9b62f12630b26c8a665cee990f06 (diff)
downloademacs-77dc8ce528f74b15f61d25e832925cc1b5f32c4b.tar.gz
emacs-77dc8ce528f74b15f61d25e832925cc1b5f32c4b.zip
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/m/delta.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/m/delta.h b/src/m/delta.h
index 810395815c0..b53ecba54cd 100644
--- a/src/m/delta.h
+++ b/src/m/delta.h
@@ -143,6 +143,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
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"
@@ -218,6 +222,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
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