diff options
| -rw-r--r-- | src/s/sunos4shr.h | 8 |
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) |