# HG changeset patch # User Richard M. Stallman # Date 753430872 0 # Node ID 8755e1e3faf1788884fa0132c35eadd022f1e13a # Parent 61c4250fb760eb792874e7473b1b5936f387e98d (GNU_MALLOC, REL_ALLOC): Don't define if already defined. diff -r 61c4250fb760 -r 8755e1e3faf1 src/s/sunos4shr.h --- a/src/s/sunos4shr.h Tue Nov 16 06:15:33 1993 +0000 +++ b/src/s/sunos4shr.h Tue Nov 16 06:21:12 1993 +0000 @@ -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; @@ -24,8 +28,12 @@ #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)