aboutsummaryrefslogtreecommitdiff
path: root/src/backend/postmaster/postmaster.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/postmaster/postmaster.c')
-rw-r--r--src/backend/postmaster/postmaster.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index 7ed1808f65a..6f1c28b50ab 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.75 1998/02/26 04:34:43 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.76 1998/03/30 16:47:11 momjian Exp $
*
* NOTES
*
@@ -60,7 +60,6 @@
#include <sys/socket.h>
#ifdef HAVE_LIMITS_H
#include <limits.h>
-#define MAXINT INT_MAX
#else
#include <values.h>
#endif
@@ -102,6 +101,10 @@
#endif
#endif
+#if !defined(MAXINT)
+#define MAXINT INT_MAX
+#endif
+
#define INVALID_SOCK (-1)
#define ARGV_SIZE 64