summaryrefslogtreecommitdiff
path: root/src/include/port/osf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/osf.h')
-rw-r--r--src/include/port/osf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/port/osf.h b/src/include/port/osf.h
new file mode 100644
index 00000000000..90c5a8af6cf
--- /dev/null
+++ b/src/include/port/osf.h
@@ -0,0 +1,10 @@
+#define USE_POSIX_TIME
+#define DISABLE_XOPEN_NLS
+#define HAS_TEST_AND_SET
+#include <sys/mman.h> /* for msemaphore */
+typedef msemaphore slock_t;
+
+/* some platforms define __alpha, but not __alpha__ */
+#if defined(__alpha) && !defined(__alpha__)
+#define __alpha__
+#endif