diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-08-27 06:56:08 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-08-27 06:56:08 +0000 |
commit | 849292a188125fdb7ca7e9c7c51def4c3392922f (patch) | |
tree | e525e5b25efe261af98e98f0173b9a778fe1184c | |
parent | c028568217ce84574b4c46b9c66d2530caaad440 (diff) | |
download | postgresql-849292a188125fdb7ca7e9c7c51def4c3392922f.tar.gz postgresql-849292a188125fdb7ca7e9c7c51def4c3392922f.zip |
first attempt at centralizing config information for ports
-rw-r--r-- | src/include/config.h | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/src/include/config.h b/src/include/config.h index 72fd8648c3b..0bf483d4ca3 100644 --- a/src/include/config.h +++ b/src/include/config.h @@ -4,7 +4,28 @@ eventual use of autoconf to build the server */ -/* un-Define this if your system does not have <unistd.h> */ -#define HAVE_UNISTD_H +#if defined(WIN32) +# define NO_UNISTD_H +# define USES_WINSOCK +#endif /* WIN32 */ +#if defined(__FreeBSD__) || defined(__NetBSD__) +# define USE_LIMITS_H +#endif + +#if defined(bsdi) +# define USE_LIMITS_H +#endif + +#if defined(bsdi_2_1) +# define USE_LIMITS_H +#endif + +#if defined(aix) +# define NEED_SYS_SELECT_H +#endif + +#if defined(irix5) +# define NO_VFORK +#endif |