MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
my_config.h
1 /*
2  * Kluge to support multilib installation of both 32- and 64-bit RPMS:
3  * we need to arrange that header files that appear in both RPMs are
4  * identical. Hence, this file is architecture-independent and calls
5  * in an arch-dependent file that will appear in just one RPM.
6  *
7  * To avoid breaking arches not explicitly supported by Red Hat, we
8  * use this indirection file *only* on known multilib arches.
9  *
10  * Note: this may well fail if user tries to use gcc's -I- option.
11  * But that option is deprecated anyway.
12  */
13 #if defined(__x86_64__)
14 #include "my_config_x86_64.h"
15 #elif defined(__i386__)
16 #include "my_config_i386.h"
17 #elif defined(__ppc64__) || defined(__powerpc64__)
18 #include "my_config_ppc64.h"
19 #elif defined(__ppc__) || defined(__powerpc__)
20 #include "my_config_ppc.h"
21 #elif defined(__s390x__)
22 #include "my_config_s390x.h"
23 #elif defined(__s390__)
24 #include "my_config_s390.h"
25 #elif defined(__sparc__) && defined(__arch64__)
26 #include "my_config_sparc64.h"
27 #elif defined(__sparc__)
28 #include "my_config_sparc.h"
29 #endif