diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-02-13 10:10:07 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-02-13 10:10:07 +0100 |
commit | e68a21750a6e17015341329e50f12726177358d0 (patch) | |
tree | 5887108896073d631c36ffc400a1db5eeaef2f19 /my_config.h | |
parent | 2f57d8a449a2177cdb6098e738dbb595ad41cb70 (diff) |
mysql 5.6, first work
Diffstat (limited to 'my_config.h')
-rw-r--r-- | my_config.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/my_config.h b/my_config.h new file mode 100644 index 0000000..435a126 --- /dev/null +++ b/my_config.h @@ -0,0 +1,29 @@ +/* + * Kluge to support multilib installation of both 32- and 64-bit RPMS: + * we need to arrange that header files that appear in both RPMs are + * identical. Hence, this file is architecture-independent and calls + * in an arch-dependent file that will appear in just one RPM. + * + * To avoid breaking arches not explicitly supported by Red Hat, we + * use this indirection file *only* on known multilib arches. + * + * Note: this may well fail if user tries to use gcc's -I- option. + * But that option is deprecated anyway. + */ +#if defined(__x86_64__) +#include "my_config_x86_64.h" +#elif defined(__i386__) +#include "my_config_i386.h" +#elif defined(__ppc64__) || defined(__powerpc64__) +#include "my_config_ppc64.h" +#elif defined(__ppc__) || defined(__powerpc__) +#include "my_config_ppc.h" +#elif defined(__s390x__) +#include "my_config_s390x.h" +#elif defined(__s390__) +#include "my_config_s390.h" +#elif defined(__sparc__) && defined(__arch64__) +#include "my_config_sparc64.h" +#elif defined(__sparc__) +#include "my_config_sparc.h" +#endif |