diff options
Diffstat (limited to 'pg_config.h')
-rw-r--r-- | pg_config.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pg_config.h b/pg_config.h new file mode 100644 index 0000000..8e93875 --- /dev/null +++ b/pg_config.h @@ -0,0 +1,30 @@ +/* + * 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. + */ +#ifdef __i386__ +#include "pg_config_i386.h" +#endif +#ifdef __x86_64__ +#include "pg_config_x86_64.h" +#endif +#ifdef __ia64__ +#include "pg_config_ia64.h" +#endif +#ifdef __ppc__ +#include "pg_config_ppc.h" +#endif +#ifdef __ppc64__ +#include "pg_config_ppc64.h" +#endif +#ifdef __s390__ +#include "pg_config_s390.h" +#endif +#ifdef __s390x__ +#include "pg_config_s390x.h" +#endif |