diff options
| author | Tom Lane <tgl@fedoraproject.org> | 2005-12-15 19:38:07 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@fedoraproject.org> | 2005-12-15 19:38:07 +0000 |
| commit | fc98a4f6097a1d8f1c2f5efbfb66029ddc6879f7 (patch) | |
| tree | 36986beb2b1a82240bf157781cb8648835f05c58 /pg_config.h | |
| parent | d644a0e2b0460a61bfdbb4e3a5e687ebe3360ae2 (diff) | |
| download | postgresql-setup-fc98a4f6097a1d8f1c2f5efbfb66029ddc6879f7.tar.gz postgresql-setup-fc98a4f6097a1d8f1c2f5efbfb66029ddc6879f7.tar.xz postgresql-setup-fc98a4f6097a1d8f1c2f5efbfb66029ddc6879f7.zip | |
Fix pg_config.h, also update postgresql-test Makefile to work with 8.1.postgresql-8_1_1-3
Diffstat (limited to 'pg_config.h')
| -rw-r--r-- | pg_config.h | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/pg_config.h b/pg_config.h index 8e93875..4f1df24 100644 --- a/pg_config.h +++ b/pg_config.h @@ -7,24 +7,18 @@ * 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__ +#if defined(__x86_64__) #include "pg_config_x86_64.h" -#endif -#ifdef __ia64__ +#elif defined(__ia64__) #include "pg_config_ia64.h" -#endif -#ifdef __ppc__ -#include "pg_config_ppc.h" -#endif -#ifdef __ppc64__ +#elif defined(__i386__) +#include "pg_config_i386.h" +#elif defined(__ppc64__) || defined(__powerpc64__) #include "pg_config_ppc64.h" -#endif -#ifdef __s390__ -#include "pg_config_s390.h" -#endif -#ifdef __s390x__ +#elif defined(__ppc__) || defined(__powerpc__) +#include "pg_config_ppc.h" +#elif defined(__s390x__) #include "pg_config_s390x.h" +#elif defined(__s390__) +#include "pg_config_s390.h" #endif |
