26 lines
662 B
Plaintext
26 lines
662 B
Plaintext
$OpenBSD: patch-PlatformHeader_h,v 1.1.1.1 2003/05/23 16:19:28 jakob Exp $
|
|
--- PlatformHeader.h.orig Sat Feb 22 00:42:14 2003
|
|
+++ PlatformHeader.h Mon Apr 7 16:50:42 2003
|
|
@@ -117,6 +117,21 @@
|
|
#define EXPORT
|
|
#define _REENTRANT 1
|
|
|
|
+#elif __OpenBSD__
|
|
+
|
|
+#define USE_ATOMICLIB 0
|
|
+#define MACOSXEVENTQUEUE 0
|
|
+#define __PTHREADS__ 1
|
|
+#define __PTHREADS_MUTEXES__ 1
|
|
+#define BIGENDIAN 0
|
|
+#define ALLOW_NON_WORD_ALIGN_ACCESS 1
|
|
+#define USE_THREAD 1 //Flag used in QTProxy
|
|
+#define THREADING_IS_COOPERATIVE 1
|
|
+#define USE_THR_YIELD 0
|
|
+#define kPlatformNameString "OpenBSD"
|
|
+#define EXPORT
|
|
+#define _REENTRANT 1
|
|
+
|
|
#elif __solaris__
|
|
|
|
#define USE_ATOMICLIB 0
|