From 86be8677a91b551448d325a1dbf9dd8c8031615d Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 13 Oct 1996 04:50:27 +0000 Subject: Added consistent include file handling for MAXHOSTNAMELEN. If I have introduced any syntax errors with this, I will patch them in the morning, and Marc will have a good laugh. --- src/backend/tcop/postgres.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/backend/tcop/postgres.c') diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index dd638c03c72..7ac58d8253a 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.9 1996/10/04 20:16:32 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.10 1996/10/13 04:49:57 momjian Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -27,13 +27,9 @@ #include #include #include /* for MAXHOSTNAMELEN on most */ -#ifndef WIN32 +#ifndef MAXHOSTNAMELEN #include /* for MAXHOSTNAMELEN on some */ -#ifndef MAXHOSTNAMELEN /* for MAXHOSTNAMELEN everywhere else */ -#include -#define MAXHOSTNAMELEN MAXDNAME #endif -#endif /* WIN32 */ #include #ifdef PORTNAME_aix #include @@ -1269,7 +1265,7 @@ PostgresMain(int argc, char *argv[]) */ if (IsUnderPostmaster == false) { puts("\nPOSTGRES backend interactive interface"); - puts("$Revision: 1.9 $ $Date: 1996/10/04 20:16:32 $"); + puts("$Revision: 1.10 $ $Date: 1996/10/13 04:49:57 $"); } /* ---------------- -- cgit v1.2.3