aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-08-27 06:56:08 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-08-27 06:56:08 +0000
commit849292a188125fdb7ca7e9c7c51def4c3392922f (patch)
treee525e5b25efe261af98e98f0173b9a778fe1184c /src
parentc028568217ce84574b4c46b9c66d2530caaad440 (diff)
downloadpostgresql-849292a188125fdb7ca7e9c7c51def4c3392922f.tar.gz
postgresql-849292a188125fdb7ca7e9c7c51def4c3392922f.zip
first attempt at centralizing config information for ports
Diffstat (limited to 'src')
-rw-r--r--src/include/config.h25
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