diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-12-22 08:25:37 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-12-22 08:25:37 +0100 |
commit | 1d1616dee3d76ef31f01bd4423ceff3831ce855b (patch) | |
tree | 6dfa6987aa7496d32c06518f9c3c4cb771892547 /my_config.h |
more work on MySQL 5.5.8
Diffstat (limited to 'my_config.h')
-rw-r--r-- | my_config.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/my_config.h b/my_config.h new file mode 100644 index 0000000..ad2e3da --- /dev/null +++ b/my_config.h @@ -0,0 +1,24 @@ +/* + * 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. + * + * 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(__ia64__) +#include "my_config_ia64.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" +#endif |