summaryrefslogtreecommitdiff
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.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index fe6b7b1455..b22aff762a 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.155 2000/07/12 17:38:42 petere Exp $
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.156 2000/07/12 22:59:04 petere Exp $
*
* NOTES
*
@@ -49,17 +49,12 @@
#include <sys/param.h>
/* moved here to prevent double define */
-#ifdef HAVE_NETDB_H
#include <netdb.h>
-#endif
-#ifdef HAVE_LIMITS_H
#include <limits.h>
-#else
#ifdef HAVE_VALUES_H
#include <values.h>
#endif
-#endif
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
@@ -87,10 +82,6 @@
#include "utils/guc.h"
-#if !defined(MAXINT)
-#define MAXINT INT_MAX
-#endif
-
#define INVALID_SOCK (-1)
#define ARGV_SIZE 64
@@ -166,7 +157,7 @@ int MaxBackends = DEF_MAXBACKENDS;
* semaphores, even if you never actually use that many backends.
*/
-static int NextBackendTag = MAXINT; /* XXX why count down not up? */
+static int NextBackendTag = INT_MAX; /* XXX why count down not up? */
static char *progname = (char *) NULL;
static char **real_argv;
static int real_argc;