Projects

Ticket #16: patch-PlatformHeader_h

File patch-PlatformHeader_h, 0.6 KB (added by jason@…, 4 years ago)
Line 
1$OpenBSD$
2--- PlatformHeader.h.orig       Tue May  6 01:29:00 2008
3+++ PlatformHeader.h    Fri Jun  6 21:41:35 2008
4@@ -140,6 +140,20 @@
5 #define EXPORT
6 #define _REENTRANT 1
7 
8+#elif __OpenBSD__
9+#define USE_ATOMICLIB 0
10+#define MACOSXEVENTQUEUE 0
11+#define __PTHREADS__    1
12+#define __PTHREADS_MUTEXES__    1
13+#define BIGENDIAN       0
14+#define ALLOW_NON_WORD_ALIGN_ACCESS 1
15+#define USE_THREAD      1 //Flag used in QTProxy
16+#define THREADING_IS_COOPERATIVE        1
17+#define USE_THR_YIELD   0
18+#define kPlatformNameString     "OpenBSD"
19+#define EXPORT
20+#define _REENTRANT 1
21+
22 #elif __FreeBSD__
23 
24 #include <machine/endian.h>