From: Richard M. Stallman Date: Tue, 16 Nov 1993 06:21:12 +0000 (+0000) Subject: (GNU_MALLOC, REL_ALLOC): Don't define if already defined. X-Git-Tag: emacs-19.34~10812 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ddbb28f4a7caa2eaf7bf1c82e1c9c0872f62d4cd;p=emacs.git (GNU_MALLOC, REL_ALLOC): Don't define if already defined. --- 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 @@ +/* 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)