diff options
author | Tom Lane <tgl@fedoraproject.org> | 2005-12-14 22:33:00 +0000 |
---|---|---|
committer | Tom Lane <tgl@fedoraproject.org> | 2005-12-14 22:33:00 +0000 |
commit | a15ec211c95d7f72e508867d9af6290da5995d14 (patch) | |
tree | d82f3c57130eb8d678f1a3acb7677449e117055a /pg_config.h | |
parent | 3159c0a81119e7b8b5e90f0ec48698db6979f5e8 (diff) | |
download | postgresql-setup-a15ec211c95d7f72e508867d9af6290da5995d14.tar.gz postgresql-setup-a15ec211c95d7f72e508867d9af6290da5995d14.tar.xz postgresql-setup-a15ec211c95d7f72e508867d9af6290da5995d14.zip |
Update to PostgreSQL 8.1.1; fix multilib issues for devel package.postgresql-8_1_1-1
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 |