summaryrefslogtreecommitdiff
path: root/src/s-sunos4-0.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s-sunos4-0.h')
-rw-r--r--src/s-sunos4-0.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/s-sunos4-0.h b/src/s-sunos4-0.h
new file mode 100644
index 00000000000..c5a7acbeb06
--- /dev/null
+++ b/src/s-sunos4-0.h
@@ -0,0 +1,12 @@
+#include "s-bsd4-2.h"
+
+#if 0 /* This may have been needed for an earlier version of Sun OS 4.
+ It seems to cause warnings in 4.0.3 and 4.1. */
+#define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */
+#endif
+
+#if __GNUC__ > 1
+#define LD_SWITCH_SYSTEM -e __start -static
+#else
+#define LD_SWITCH_SYSTEM -e __start -Bstatic
+#endif