aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-05-10 00:34:31 +0000
committerJim Blandy1993-05-10 00:34:31 +0000
commit16f7413a03dce7b6ddbb7998b489082af66c597b (patch)
tree0ad37e5590f949bce20bccc7717097c7eddb13e5 /src
parent07e34cb0a9b06e5eedabea65beec45f94594196c (diff)
downloademacs-16f7413a03dce7b6ddbb7998b489082af66c597b.tar.gz
emacs-16f7413a03dce7b6ddbb7998b489082af66c597b.zip
* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
used by any configuration right now, but he's trying to make it work. #include "sunos4-1.h" instead of "bsd4-2.h". (O_NDELAY): Don't define this. (SYSTEM_MALLOC): Don't define this, either. (LD_SWITCH_SYSTEM): Remove the definition for this.
Diffstat (limited to 'src')
-rw-r--r--src/s/sunos4shr.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/s/sunos4shr.h b/src/s/sunos4shr.h
index c5bcf838e61..1fcd6e24b67 100644
--- a/src/s/sunos4shr.h
+++ b/src/s/sunos4shr.h
@@ -1,17 +1,9 @@
1#include "bsd4-2.h" 1#include "sunos4-1.h"
2 2
3/* Say that the text segment of a.out includes the header; 3/* Say that the text segment of a.out includes the header;
4 the header actually occupies the first few bytes of the text segment 4 the header actually occupies the first few bytes of the text segment
5 and is counted in hdr.a_text. */ 5 and is counted in hdr.a_text. */
6 6
7#define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */
8
9/* In SunOS 4.1, a static function called by tzsetwall reportedly
10 clears the byte just past an eight byte region it mallocs, corrupting
11 GNU malloc's memory pool. But Sun's malloc doesn't seem to mind. */
12
13#define SYSTEM_MALLOC
14
15/* Misleading! Actually gets loaded after crt0.o */ 7/* Misleading! Actually gets loaded after crt0.o */
16#define START_FILES pre-crt0.o 8#define START_FILES pre-crt0.o
17 9
@@ -28,3 +20,5 @@
28#define UNEXEC unexsunos4.o 20#define UNEXEC unexsunos4.o
29#define RUN_TIME_REMAP 21#define RUN_TIME_REMAP
30#define LINKER cc 22#define LINKER cc
23
24#undef LD_SWITCH_SYSTEM