summaryrefslogtreecommitdiff
path: root/src/s-sunos4-1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s-sunos4-1.h')
-rw-r--r--src/s-sunos4-1.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/s-sunos4-1.h b/src/s-sunos4-1.h
new file mode 100644
index 00000000000..bfa4dab721b
--- /dev/null
+++ b/src/s-sunos4-1.h
@@ -0,0 +1,34 @@
+#include "s-sunos4-0.h"
+
+/* 4.1.1 makes these system calls interruptable. */
+
+#define read sys_read
+#define write sys_write
+#define open sys_open
+#define close sys_close
+
+#define INTERRUPTABLE_OPEN
+#define INTERRUPTABLE_CLOSE
+#define INTERRUPTABLE_IO
+
+
+#define HAVE_TZSET
+
+/* Cause the compilation of oldxmenu to use the right -I option. */
+#define OLDXMENU_OPTIONS CFLAGS=C_SWITCH_SYSTEM
+
+/* The following is needed to work with the "Open Windows"
+ version of X windows. But it should do no harm if you don't have that. */
+#if 1 /* The -I and -L options should be harmless otherwise. */
+#undef LD_SWITCH_SYSTEM
+#if __GNUC__ > 1
+#define LD_SWITCH_SYSTEM -e __start -static -L/usr/openwin/lib
+#else
+#define LD_SWITCH_SYSTEM -e __start -Bstatic -L/usr/openwin/lib
+#endif
+
+#define C_SWITCH_SYSTEM -I/usr/openwin/include
+#endif
+
+/* Enable a fix in malloc. */
+#define SUNOS_LOCALTIME_BUG