Moved more -D's out of the port specific Makefiles straight into the

config.h file
This commit is contained in:
Marc G. Fournier 1996-10-18 04:45:54 +00:00
parent d16bc9ce37
commit 1b6322a9c0

View File

@ -8,17 +8,27 @@
#define BLCKSZ 8192 #define BLCKSZ 8192
#if defined(sequent) || \ #if defined(sequent)
defined(PORTNAME_aix) || \ # define NEED_UNION_SEMUN
defined(PORTNAME_alpha) || \ #endif
defined(PORTNAME_bsdi) || \
defined(PORTNAME_hpux) || \ #if defined(alpha)
defined(PORTNAME_dgux) || \ # define USE_POSIX_TIME
defined(PORTNAME_i386_solaris) || \ # define DISABLE_XOPEN_NLS
defined(PORTNAME_sparc_solaris) || \ # define NEED_ISINF
defined(PORTNAME_ultrix4) || \ # define HAS_LONG_LONG
defined(PORTNAME_svr4) # define NEED_UNION_SEMUN
#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 #endif
#if defined(linux) #if defined(linux)
@ -30,18 +40,39 @@
# define HAVE_TZSET # define HAVE_TZSET
# define NEED_CBRT # define NEED_CBRT
# define NEED_RINT # define NEED_RINT
# define NEED_UNION_SEMUN
#endif #endif
#if defined(i386_solaris) #if defined(i386_solaris)
# define USE_POSIX_TIME
# define NEED_ISINF
# define NEED_RUSAGE
# define NO_EMPTY_STMTS
# define HAVE_TZSET # define HAVE_TZSET
# define NEED_UNION_SEMUN
#endif
#if defined(sparc)
# define USE_POSIX_TIME
#endif #endif
#if defined(sparc_solaris) #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 HAVE_TZSET
# define NEED_UNION_SEMUN
#endif #endif
#if defined(svr4) #if defined(svr4)
# define USE_POSIX_TIME
# define NEED_ISINF
# define NEED_RUSAGE
# define NO_EMPTY_STMTS
# define HAVE_TZSET # define HAVE_TZSET
# define NEED_UNION_SEMUN
#endif #endif
#if defined(win32) #if defined(win32)
@ -56,19 +87,32 @@
#endif /* WIN32 */ #endif /* WIN32 */
#if defined(BSD44_derived) || \ #if defined(BSD44_derived) || \
defined(bsdi) || \
defined(bsdi_2_1) defined(bsdi_2_1)
# define USE_LIMITS_H # define USE_LIMITS_H
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define NEED_CBRT # define NEED_CBRT
#endif #endif
#if defined(bsdi)
# define NEED_UNION_SEMUN
# define USE_LIMITS_H
# define USE_POSIX_TIME
# define NEED_CBRT
#endif
#if defined(aix) #if defined(aix)
# define CLASS_CONFLICT
# define DISABLE_XOPEN_NLS
# define NEED_ISINF
# define NEED_UNION_SEMUN
# define NEED_SYS_SELECT_H # define NEED_SYS_SELECT_H
# define HAVE_TZSET # define HAVE_TZSET
#endif #endif
#if defined(irix5) #if defined(irix5)
# define USE_POSIX_TIME
# define NEED_ISINF
# define NO_EMPTY_STMTS
# define NO_VFORK # define NO_VFORK
# define HAVE_TZSET # define HAVE_TZSET
#endif #endif
@ -83,7 +127,7 @@
*/ */
#ifndef SIGNAL_ARGS #ifndef SIGNAL_ARGS
#define SIGNAL_ARGS int postgres_signal_arg # define SIGNAL_ARGS int postgres_signal_arg
#endif #endif
/* NAMEDATALEN is the max length for system identifiers (e.g. table names, /* NAMEDATALEN is the max length for system identifiers (e.g. table names,