]> www.ginac.de Git - cln.git/blob - include/cln/host_cpu.h.in
Detect s390x and sparc64 as 32-bit architectures.
[cln.git] / include / cln / host_cpu.h.in
1 // Defines CPU dependent macros
2
3 #ifndef _CL_HOST_CPU_CONFIG_H
4 #define _CL_HOST_CPU_CONFIG_H
5
6 /* These definitions are adjusted by `configure' automatically. */
7
8 /* CPU */
9 #ifndef __i386__
10 #undef __i386__
11 #endif
12
13 #ifndef __x86_64__
14 #undef __x86_64__
15 #endif
16
17 #ifndef __m68k__
18 #undef __m68k__
19 #endif
20
21 // NB: GCC def's __mips__ both on big-endian and little-endian systems.
22 #ifndef __mips__
23 #undef __mips__
24 #endif
25
26 #ifndef __mipsel__
27 #undef __mipsel__
28 #endif
29
30 #ifndef __mips64__
31 #undef __mips64__
32 #endif
33
34 #ifndef __sparc__
35 #undef __sparc__
36 #endif
37
38 #ifndef __sparc64__
39 #undef __sparc64__
40 #endif
41
42 #ifndef __alpha__
43 #undef __alpha__
44 #endif
45
46 #ifndef __hppa__
47 #undef __hppa__
48 #endif
49
50 #ifndef __arm__
51 #undef __arm__
52 #endif
53
54 #ifndef __rs6000__
55 #undef __rs6000__
56 #endif
57
58 #ifndef __powerpc64__
59 #undef __powerpc64__
60 #endif
61
62 #ifndef __m88k__
63 #undef __m88k__
64 #endif
65
66 #ifndef __convex__
67 #undef __convex__
68 #endif
69
70 #ifndef __ia64__
71 #undef __ia64__
72 #endif
73
74 #ifndef __s390__
75 #undef __s390__
76 #endif
77
78 #ifndef __s390x__
79 #undef __s390x__
80 #endif
81
82 #endif /* _CL_HOST_CPU_CONFIG_H */
83