]> git.eshelyaron.com Git - emacs.git/commitdiff
(GNU_MALLOC, REL_ALLOC): Don't define if already defined.
authorRichard M. Stallman <rms@gnu.org>
Tue, 16 Nov 1993 06:21:12 +0000 (06:21 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 16 Nov 1993 06:21:12 +0000 (06:21 +0000)
src/s/sunos4shr.h

index 8fbb82131561c69c9e49b98cd13560383d4033e6..88ff9039499cdb5abbba22865970d304276e1545 100644 (file)
@@ -1,3 +1,7 @@
+/* This file permits building Emacs with a shared libc on Sunos 4.
+   To make this work, you must completely replace your C shared library
+   using one of the SunOS 4.1.x jumbo replacement patches from Sun.  */
+
 #include "sunos4-1.h"
 
 /* Say that the text segment of a.out includes the header;
 #undef LD_SWITCH_SYSTEM
 
 #undef SYSTEM_MALLOC
+#ifndef GNU_MALLOC
 #define        GNU_MALLOC
+#endif
+#ifndef REL_ALLOC
 #define        REL_ALLOC
+#endif
 
 /* khera@cs.duke.edu says this is needed.  */
 #define memmove(to, from, size) bcopy (from, to, size)