summaryrefslogtreecommitdiffstats
path: root/6/sources/cxx-stl/stlport/stlport/stl/config/_openbsd.h
diff options
context:
space:
mode:
Diffstat (limited to '6/sources/cxx-stl/stlport/stlport/stl/config/_openbsd.h')
-rw-r--r--6/sources/cxx-stl/stlport/stlport/stl/config/_openbsd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/6/sources/cxx-stl/stlport/stlport/stl/config/_openbsd.h b/6/sources/cxx-stl/stlport/stlport/stl/config/_openbsd.h
new file mode 100644
index 0000000..86a19d1
--- /dev/null
+++ b/6/sources/cxx-stl/stlport/stlport/stl/config/_openbsd.h
@@ -0,0 +1,12 @@
+#define _STLP_PLATFORM "Open BSD"
+
+#define _STLP_USE_UNIX_IO
+
+#if defined (_POSIX_THREADS) && !defined (_STLP_THREADS)
+# define _STLP_THREADS
+#endif
+
+#if defined (_POSIX_THREADS) && !defined (_STLP_DONT_USE_PTHREAD_SPINLOCK)
+# define _STLP_USE_PTHREAD_SPINLOCK
+# define _STLP_STATIC_MUTEX _STLP_mutex
+#endif