Commit 4a820de1 authored by Bryan Henderson's avatar Bryan Henderson

Include some macros that used to be -D options in Makefile.global.

parent e2a8163c
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#if defined(alpha) #if defined(alpha)
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define DISABLE_XOPEN_NLS # define DISABLE_XOPEN_NLS
# define NEED_ISINF # define NEED_ISINF
# define HAS_LONG_LONG # define HAS_LONG_LONG
...@@ -32,6 +33,8 @@ ...@@ -32,6 +33,8 @@
#if defined(dgux) #if defined(dgux)
# define LINUX_ELF # define LINUX_ELF
# define NEED_UNION_SEMUN # define NEED_UNION_SEMUN
# define __USE_POSIX_SIGNALS
# define -DUSE_POSIX_SIGNALS
#endif #endif
#if defined(ultrix4) #if defined(ultrix4)
...@@ -41,9 +44,12 @@ ...@@ -41,9 +44,12 @@
#endif #endif
#if defined(linux) #if defined(linux)
# ifndef __USE_POSIX /* __USE_POSIX, __USE_BSD, and __USE_BSD_SIGNAL used to be defined either
# define __USE_POSIX here or with -D compile options, but __ macros should be set and used by C
# endif library macros, not Postgres code. __USE_POSIX is set by features.h,
__USE_BSD is set by bsd/signal.h, and __USE_BSD_SIGNAL appears not to
be used.
*/
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define HAVE_TZSET # define HAVE_TZSET
# define NEED_CBRT # define NEED_CBRT
...@@ -59,11 +65,13 @@ ...@@ -59,11 +65,13 @@
#if defined(i386_solaris) #if defined(i386_solaris)
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define NEED_ISINF # define NEED_ISINF
# define NEED_RUSAGE # define NEED_RUSAGE
# define NO_EMPTY_STMTS # define NO_EMPTY_STMTS
# define HAVE_TZSET # define HAVE_TZSET
# define NEED_UNION_SEMUN # define NEED_UNION_SEMUN
# define SYSV_DIRENT
#endif #endif
#if defined(sparc) && !defined(sparc_solaris) #if defined(sparc) && !defined(sparc_solaris)
...@@ -73,21 +81,25 @@ ...@@ -73,21 +81,25 @@
#if defined(sparc_solaris) #if defined(sparc_solaris)
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define NEED_ISINF # define NEED_ISINF
# define NEED_RUSAGE # define NEED_RUSAGE
# define NO_EMPTY_STMTS # define NO_EMPTY_STMTS
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define HAVE_TZSET # define HAVE_TZSET
# define NEED_UNION_SEMUN # define NEED_UNION_SEMUN
# define SYSV_DIRENT
#endif #endif
#if defined(svr4) #if defined(svr4)
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define NEED_ISINF # define NEED_ISINF
# define NEED_RUSAGE # define NEED_RUSAGE
# define NO_EMPTY_STMTS # define NO_EMPTY_STMTS
# define HAVE_TZSET # define HAVE_TZSET
# define NEED_UNION_SEMUN # define NEED_UNION_SEMUN
# define SYSV_DIRENT
#endif #endif
#if defined(next) #if defined(next)
...@@ -122,14 +134,17 @@ ...@@ -122,14 +134,17 @@
# define NEED_UNION_SEMUN # define NEED_UNION_SEMUN
# define NEED_SYS_SELECT_H # define NEED_SYS_SELECT_H
# define HAVE_TZSET # define HAVE_TZSET
# define HAVE_ANSI_CPP
#endif #endif
#if defined(irix5) #if defined(irix5)
# define USE_POSIX_TIME # define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# define NEED_ISINF # define NEED_ISINF
# define NO_EMPTY_STMTS # define NO_EMPTY_STMTS
# define NO_VFORK # define NO_VFORK
# define HAVE_TZSET # define HAVE_TZSET
# define SYSV_DIRENT
#endif #endif
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment