1 #define PthreadDraftVersion 10
 2 
 3 //
 4 // Include implementation-specific src file.
 5 //
 6 
 7 #if defined(__arm__) && defined(__atmos__)
 8 #include "posix.cc"
 9 
10 #elif defined(__osf1__)
11 #include "posix.cc"
12 
13 #elif defined(__aix__)
14 #include "posix.cc"
15 
16 #elif defined(__MacOSX__) || defined(__IPhoneOS__) || defined(__APPLE__)
17 #include "posix.cc"
18 
19 #elif defined(__hpux__)
20 #include "posix.cc"
21 
22 #elif defined(__WIN32__)
23 
24 #if defined(__POSIX_NT__)
25 #include "posix.cc"
26 #else
27 #include "nt.cc"
28 #endif
29 
30 #elif defined(WINCE)
31 
32 // marcelruff.info: To use posix http://sources.redhat.com/pthreads-win32 for Windows CE
33 #if defined(__POSIX_NT__)
34 #include "posix.cc"
35 #else
36 #include "nt.cc"
37 #endif
38  
39 #elif defined(__sunos__)
40 #if __OSVERSION__ != 5
41 // XXX Workaround for SUN C++ compiler (seen on 4.2) Template.DB code
42 //     regeneration bug. See omniORB2/CORBA_sysdep.h for details.
43 #if !defined(__SUNPRO_CC) || __OSVERSION__ != '5'
44 #error "Only SunOS 5.x or later is supported."
45 #endif
46 #endif
47 #ifdef UseSolarisThreads
48 #include "solaris.cc"
49 #else
50 #include "posix.cc"
51 #endif
52 
53 #elif defined(__linux__)
54 #include "posix.cc"
55 
56 #elif defined(__nextstep__)
57 #include "mach.cc"
58 
59 #elif defined(__VMS)
60 #include "posix.cc"
61 
62 #elif defined(__SINIX__)
63 #include "posix.cc"
64 
65 #elif defined(__osr5__)
66 #include "posix.cc"
67 
68 #elif defined(__uw7__)
69 #include "posix.cc"
70 
71 #elif defined(__irix__)
72 #include "posix.cc"
73 
74 #elif defined(__freebsd__)
75 #include "posix.cc"
76 
77 #elif defined(__rtems__)
78 #include "posix.cc"
79 
80 #elif defined(__darwin__)
81 #include "posix.cc"
82 
83 #elif defined(__macos__)
84 #include <sys/time.h>
85 #define __COMPILE_POSIX_CC__
86 #include "posix.cc"
87 
88 #else
89 #error "No implementation header file"
90 #endif


syntax highlighted by Code2HTML, v. 0.9.1