1 #if defined(__PGI) || defined(__PGIC__)
2 COMPILER_PGI
3 #endif
4 
5 #if defined(__PATHSCALE__) || defined(__PATHCC__)
6 COMPILER_PATHSCALE
7 #endif
8 
9 #if defined(__INTEL_COMPILER) || defined(__ICC) || defined(__ECC)
10 COMPILER_INTEL
11 #endif
12 
13 #if defined(__OPENCC__)
14 COMPILER_OPEN64
15 #endif
16 
17 #if defined(__SUNPRO_C)
18 COMPILER_SUN
19 #endif
20 
21 #if defined(__IBMC__) || defined(__xlc__)
22 COMPILER_IBM
23 #endif
24 
25 #if defined(__DECCC__)
26 COMPILER_DEC
27 #endif
28 
29 #if defined(__GNUC__)
30 COMPILER_GNU
31 #endif
32 
33 #if defined(__linux__)
34 OS_LINUX
35 #endif
36 
37 #if defined(__DragonFly__)
38 OS_DRAGONFLY
39 #endif
40 
41 #if defined(__FreeBSD__)
42 OS_FreeBSD
43 #endif
44 
45 #if defined(__NetBSD__)
46 OS_NetBSD
47 #endif
48 
49 #if defined(__sun)
50 OS_SunOS
51 #endif
52 
53 #if defined(__APPLE__)
54 OS_Darwin
55 #endif
56 
57 #if defined(_AIX)
58 OS_AIX
59 #endif
60 
61 #if defined(__OSF)
62 OS_OSF
63 #endif
64 
65 #if defined(__WIN32) || defined(__WIN64) || defined(__WINNT)
66 OS_WINNT
67 #endif
68 
69 #if defined(__CYGWIN__)
70 OS_CYGWIN
71 #endif
72 
73 #if defined(__INTERIX)
74 OS_INTERIX
75 #endif
76 
77 #if defined(__i386) || defined(_X86)
78 ARCH_X86
79 #endif
80 
81 #if defined(__x86_64__) || defined(__amd64__)
82 ARCH_X86_64
83 #endif
84 
85 #if defined(__powerpc___) || defined(__PPC__) || defined(_POWER)
86 ARCH_POWER
87 #endif
88 
89 #ifdef __mips64
90 ARCH_MIPS64
91 #endif
92 
93 #if defined(__mips32) || defined(__mips)
94 ARCH_MIPS32
95 #endif
96 
97 #ifdef __alpha
98 ARCH_ALPHA
99 #endif
100 
101 #if defined(__sparc) || defined(__sparc__)
102 ARCH_SPARC
103 #endif
104 
105 #if defined(__ia64__) || defined(__ia64)
106 ARCH_IA64
107 #endif
108 
109 #if defined(__LP64) || defined(__LP64__) || defined(__ptr64) || defined(__x86_64__) || defined(__amd64__) || defined(__64BIT__)
110 BINARY_64
111 #endif
112