aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorRichard M. Stallman1993-11-16 06:21:12 +0000
committerRichard M. Stallman1993-11-16 06:21:12 +0000
commitddbb28f4a7caa2eaf7bf1c82e1c9c0872f62d4cd (patch)
tree19202396639382ec8eba1e8c0b31248a309b4936 /src/s
parent75ade4691a2d5f096b73371659a34ffe097d86d8 (diff)
downloademacs-ddbb28f4a7caa2eaf7bf1c82e1c9c0872f62d4cd.tar.gz
emacs-ddbb28f4a7caa2eaf7bf1c82e1c9c0872f62d4cd.zip
(GNU_MALLOC, REL_ALLOC): Don't define if already defined.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/sunos4shr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/s/sunos4shr.h b/src/s/sunos4shr.h
index 8fbb8213156..88ff9039499 100644
--- a/src/s/sunos4shr.h
+++ b/src/s/sunos4shr.h
@@ -1,3 +1,7 @@
1/* This file permits building Emacs with a shared libc on Sunos 4.
2 To make this work, you must completely replace your C shared library
3 using one of the SunOS 4.1.x jumbo replacement patches from Sun. */
4
1#include "sunos4-1.h" 5#include "sunos4-1.h"
2 6
3/* Say that the text segment of a.out includes the header; 7/* Say that the text segment of a.out includes the header;
@@ -24,8 +28,12 @@
24#undef LD_SWITCH_SYSTEM 28#undef LD_SWITCH_SYSTEM
25 29
26#undef SYSTEM_MALLOC 30#undef SYSTEM_MALLOC
31#ifndef GNU_MALLOC
27#define GNU_MALLOC 32#define GNU_MALLOC
33#endif
34#ifndef REL_ALLOC
28#define REL_ALLOC 35#define REL_ALLOC
36#endif
29 37
30/* khera@cs.duke.edu says this is needed. */ 38/* khera@cs.duke.edu says this is needed. */
31#define memmove(to, from, size) bcopy (from, to, size) 39#define memmove(to, from, size) bcopy (from, to, size)