OSDN Git Service

snapshot of honeycomb-x86
[android-x86/prebuilt.git] / ndk / android-ndk-r6 / sources / cxx-stl / stlport / stlport / stl / config / _openbsd.h
diff --git a/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/config/_openbsd.h b/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/config/_openbsd.h
new file mode 100644 (file)
index 0000000..86a19d1
--- /dev/null
@@ -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