summaryrefslogtreecommitdiff
path: root/src/s-sol2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s-sol2.h')
-rw-r--r--src/s-sol2.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/s-sol2.h b/src/s-sol2.h
new file mode 100644
index 00000000000..3e3ea3e5d03
--- /dev/null
+++ b/src/s-sol2.h
@@ -0,0 +1,18 @@
+#include "s-usg5-4.h"
+
+/* cracraft@ai.mit.edu says these work. */
+#define BROKEN_FIONREAD
+#undef SYSV_STREAMS
+
+#define POSIX
+
+/* Here is how to find X Windows. */
+#define LD_SWITCH_SYSTEM -L/usr/openwin/lib
+#define C_SWITCH_X_SYSTEM -I/usr/openwin/include
+
+/* Compile in non-ansi fashion to work around bugs in system header files. */
+#ifndef __GNUC__
+#define C_SWITCH_SYSTEM -Xs
+#else /* GCC */
+#define C_SWITCH_SYSTEM -traditional
+#endif /* GCC */