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