BiblioteQ: Source/biblioteq_architecture.h Source File

BiblioteQ

biblioteq_architecture.h
1 #ifndef _BIBLIOTEQ_ARCHITECTURE_H_
2 #define _BIBLIOTEQ_ARCHITECTURE_H_
3 #if defined(__alpha_ev4__)
4 #define BIBLIOTEQ_ARCHITECTURE_STR "__alpha_ev4__"
5 #elif defined(__alpha_ev5__)
6 #define BIBLIOTEQ_ARCHITECTURE_STR "__alpha_ev5__"
7 #elif defined(__alpha_ev6__)
8 #define BIBLIOTEQ_ARCHITECTURE_STR "__alpha_ev6__"
9 #elif defined(__alpha__)
10 #define BIBLIOTEQ_ARCHITECTURE_STR "__alpha__"
11 #elif defined(__amd64__)
12 #define BIBLIOTEQ_ARCHITECTURE_STR "__amd64__"
13 #elif defined(__amd64)
14 #define BIBLIOTEQ_ARCHITECTURE_STR "__amd64"
15 #elif defined(__x86_64__)
16 #define BIBLIOTEQ_ARCHITECTURE_STR "__x86_64__"
17 #elif defined(__x86_64)
18 #define BIBLIOTEQ_ARCHITECTURE_STR "__x86_64"
19 #elif defined(__ARM_ARCH_6J__)
20 #define BIBLIOTEQ_ARCHITECTURE_STR "__ARM_ARCH_6J__"
21 #elif defined(__ARM_ARCH_6K__)
22 #define BIBLIOTEQ_ARCHITECTURE_STR "__ARM_ARCH_6K__"
23 #elif defined(__ARM_ARCH_6T2__)
24 #define BIBLIOTEQ_ARCHITECTURE_STR "__ARM_ARCH_6T2__"
25 #elif defined(__ARM_ARCH_6ZK__)
26 #define BIBLIOTEQ_ARCHITECTURE_STR "__ARM_ARCH_6ZK__"
27 #elif defined(__ARM_ARCH_6Z__)
28 #define BIBLIOTEQ_ARCHITECTURE_STR "__ARM_ARCH_6Z__"
29 #elif defined(__ARM_ARCH_6__)
30 #define BIBLIOTEQ_ARCHITECTURE_STR "__ARM_ARCH_6__"
31 #elif defined(__ARM_ARCH_7A__)
32 #define BIBLIOTEQ_ARCHITECTURE_STR "__ARM_ARCH_7A__"
33 #elif defined(__ARM_ARCH_7M__)
34 #define BIBLIOTEQ_ARCHITECTURE_STR "__ARM_ARCH_7M__"
35 #elif defined(__ARM_ARCH_7R__)
36 #define BIBLIOTEQ_ARCHITECTURE_STR "__ARM_ARCH_7R__"
37 #elif defined(__ARM_ARCH_7S__)
38 #define BIBLIOTEQ_ARCHITECTURE_STR "__ARM_ARCH_7S__"
39 #elif defined(__ARM_ARCH_7__)
40 #define BIBLIOTEQ_ARCHITECTURE_STR "__ARM_ARCH_7__"
41 #elif defined(__ARM_ARCH_8A__)
42 #define BIBLIOTEQ_ARCHITECTURE_STR "__ARM_ARCH_8A__"
43 #elif defined(__ARM_ARCH_8__)
44 #define BIBLIOTEQ_ARCHITECTURE_STR "__ARM_ARCH_8__"
45 #elif defined(i386)
46 #define BIBLIOTEQ_ARCHITECTURE_STR "i386"
47 #elif defined(__i386)
48 #define BIBLIOTEQ_ARCHITECTURE_STR "__i386"
49 #elif defined(__i386__)
50 #define BIBLIOTEQ_ARCHITECTURE_STR "__i386__"
51 #elif defined(__i486__)
52 #define BIBLIOTEQ_ARCHITECTURE_STR "__i486__"
53 #elif defined(__i586__)
54 #define BIBLIOTEQ_ARCHITECTURE_STR "__i586__"
55 #elif defined(__i686__)
56 #define BIBLIOTEQ_ARCHITECTURE_STR "__i686__"
57 #elif defined(_X86_)
58 #define BIBLIOTEQ_ARCHITECTURE_STR "_X86_"
59 #elif defined(__ia64__)
60 #define BIBLIOTEQ_ARCHITECTURE_STR "__ia64__"
61 #elif defined(_IA64)
62 #define BIBLIOTEQ_ARCHITECTURE_STR "_IA64"
63 #elif defined(__IA64__)
64 #define BIBLIOTEQ_ARCHITECTURE_STR "__IA64__"
65 #elif defined(__powerpc64__)
66 #define BIBLIOTEQ_ARCHITECTURE_STR "__powerpc64__"
67 #elif defined(__ppc64__)
68 #define BIBLIOTEQ_ARCHITECTURE_STR "__ppc64__"
69 #elif defined(__PPC64__)
70 #define BIBLIOTEQ_ARCHITECTURE_STR "__PPC64__"
71 #elif defined(_ARCH_PPC64)
72 #define BIBLIOTEQ_ARCHITECTURE_STR "_ARCH_PPC64"
73 #elif defined(__powerpc)
74 #define BIBLIOTEQ_ARCHITECTURE_STR "__powerpc"
75 #elif defined(__powerpc__)
76 #define BIBLIOTEQ_ARCHITECTURE_STR "__powerpc__"
77 #elif defined(__POWERPC__)
78 #define BIBLIOTEQ_ARCHITECTURE_STR "__POWERPC__"
79 #elif defined(__ppc__)
80 #define BIBLIOTEQ_ARCHITECTURE_STR "__ppc__"
81 #elif defined(__PPC__)
82 #define BIBLIOTEQ_ARCHITECTURE_STR "__PPC__"
83 #elif defined(_ARCH_PPC)
84 #define BIBLIOTEQ_ARCHITECTURE_STR "_ARCH_PPC"
85 #elif defined(__sparc_v8__)
86 #define BIBLIOTEQ_ARCHITECTURE_STR "__sparc_v8__"
87 #elif defined(__sparc_v9__)
88 #define BIBLIOTEQ_ARCHITECTURE_STR "__sparc_v9__"
89 #elif defined(__sparcv8)
90 #define BIBLIOTEQ_ARCHITECTURE_STR "__sparcv8"
91 #elif defined(__sparcv9)
92 #define BIBLIOTEQ_ARCHITECTURE_STR "__sparcv9"
93 #elif defined(__sparc__)
94 #define BIBLIOTEQ_ARCHITECTURE_STR "__sparc__"
95 #elif defined(__sparc)
96 #define BIBLIOTEQ_ARCHITECTURE_STR "__sparc"
97 #else
98 #define BIBLIOTEQ_ARCHITECTURE_STR "gingerjitter"
99 #endif
100 #endif