diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-10-18 04:45:54 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-10-18 04:45:54 +0000 |
commit | 1b6322a9c0458b3a467fd82090a6d9d98a36be19 (patch) | |
tree | 9b5fb9e3175655a994d1f9dd23effeb53ebe636b /src | |
parent | d16bc9ce372f0e5860401d503a28c98764aa2174 (diff) | |
download | postgresql-1b6322a9c0458b3a467fd82090a6d9d98a36be19.tar.gz postgresql-1b6322a9c0458b3a467fd82090a6d9d98a36be19.zip |
Moved more -D's out of the port specific Makefiles straight into the
config.h file
Diffstat (limited to 'src')
-rw-r--r-- | src/include/config.h | 70 |
1 files changed, 57 insertions, 13 deletions
diff --git a/src/include/config.h b/src/include/config.h index 9a849ff6e06..f457b908e9b 100644 --- a/src/include/config.h +++ b/src/include/config.h @@ -8,17 +8,27 @@ #define BLCKSZ 8192 -#if defined(sequent) || \ - defined(PORTNAME_aix) || \ - defined(PORTNAME_alpha) || \ - defined(PORTNAME_bsdi) || \ - defined(PORTNAME_hpux) || \ - defined(PORTNAME_dgux) || \ - defined(PORTNAME_i386_solaris) || \ - defined(PORTNAME_sparc_solaris) || \ - defined(PORTNAME_ultrix4) || \ - defined(PORTNAME_svr4) -#define NEED_UNION_SEMUN +#if defined(sequent) +# define NEED_UNION_SEMUN +#endif + +#if defined(alpha) +# define USE_POSIX_TIME +# define DISABLE_XOPEN_NLS +# define NEED_ISINF +# define HAS_LONG_LONG +# define NEED_UNION_SEMUN +#endif + +#if defined(dgux) +# define LINUX_ELF +# define NEED_UNION_SEMUN +#endif + +#if defined(ultrix4) +# define NEED_ISINF +# define USE_POSIX_TIME +# define NEED_UNION_SEMUN #endif #if defined(linux) @@ -30,18 +40,39 @@ # define HAVE_TZSET # define NEED_CBRT # define NEED_RINT +# define NEED_UNION_SEMUN #endif #if defined(i386_solaris) +# define USE_POSIX_TIME +# define NEED_ISINF +# define NEED_RUSAGE +# define NO_EMPTY_STMTS # define HAVE_TZSET +# define NEED_UNION_SEMUN +#endif + +#if defined(sparc) +# define USE_POSIX_TIME #endif #if defined(sparc_solaris) +# define USE_POSIX_TIME +# define NEED_ISINF +# define NEED_RUSAGE +# define NO_EMPTY_STMTS +# define USE_POSIX_TIME # define HAVE_TZSET +# define NEED_UNION_SEMUN #endif #if defined(svr4) +# define USE_POSIX_TIME +# define NEED_ISINF +# define NEED_RUSAGE +# define NO_EMPTY_STMTS # define HAVE_TZSET +# define NEED_UNION_SEMUN #endif #if defined(win32) @@ -56,19 +87,32 @@ #endif /* WIN32 */ #if defined(BSD44_derived) || \ - defined(bsdi) || \ defined(bsdi_2_1) # define USE_LIMITS_H # define USE_POSIX_TIME # define NEED_CBRT #endif +#if defined(bsdi) +# define NEED_UNION_SEMUN +# define USE_LIMITS_H +# define USE_POSIX_TIME +# define NEED_CBRT +#endif + #if defined(aix) +# define CLASS_CONFLICT +# define DISABLE_XOPEN_NLS +# define NEED_ISINF +# define NEED_UNION_SEMUN # define NEED_SYS_SELECT_H # define HAVE_TZSET #endif #if defined(irix5) +# define USE_POSIX_TIME +# define NEED_ISINF +# define NO_EMPTY_STMTS # define NO_VFORK # define HAVE_TZSET #endif @@ -83,7 +127,7 @@ */ #ifndef SIGNAL_ARGS -#define SIGNAL_ARGS int postgres_signal_arg +# define SIGNAL_ARGS int postgres_signal_arg #endif /* NAMEDATALEN is the max length for system identifiers (e.g. table names, |