changeset 2733:d7cacd332230

* 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.
author Jim Blandy <jimb@redhat.com>
date Mon, 10 May 1993 00:34:31 +0000
parents 8b55aa587d3c
children a0f174dc6ac5
files src/s/sunos4shr.h
diffstat 1 files changed, 3 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/sunos4shr.h	Mon May 10 00:26:32 1993 +0000
+++ b/src/s/sunos4shr.h	Mon May 10 00:34:31 1993 +0000
@@ -1,17 +1,9 @@
-#include "bsd4-2.h"
+#include "sunos4-1.h"
 
 /* Say that the text segment of a.out includes the header;
    the header actually occupies the first few bytes of the text segment
    and is counted in hdr.a_text.  */
 
-#define O_NDELAY        FNDELAY /* Non-blocking I/O (4.2 style) */
-
-/* In SunOS 4.1, a static function called by tzsetwall reportedly
-   clears the byte just past an eight byte region it mallocs, corrupting
-   GNU malloc's memory pool.  But Sun's malloc doesn't seem to mind. */
-
-#define SYSTEM_MALLOC
-
 /*  Misleading!  Actually gets loaded after crt0.o */
 #define START_FILES pre-crt0.o
 
@@ -28,3 +20,5 @@
 #define UNEXEC	unexsunos4.o
 #define RUN_TIME_REMAP
 #define LINKER cc
+
+#undef LD_SWITCH_SYSTEM