From: Marc G. Fournier Date: Tue, 27 Aug 1996 06:56:08 +0000 (+0000) Subject: first attempt at centralizing config information for ports X-Git-Tag: REL2_0~614 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=849292a188125fdb7ca7e9c7c51def4c3392922f;p=thirdparty%2Fpostgresql.git first attempt at centralizing config information for ports --- 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 */ -#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