From 399a36a75d2d06bfdb91402713d408271b4833ba Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 7 Jun 2006 22:24:46 +0000 Subject: Prepare code to be built by MSVC: o remove many WIN32_CLIENT_ONLY defines o add WIN32_ONLY_COMPILER define o add 3rd argument to open() for portability o add include/port/win32_msvc directory for system includes Magnus Hagander --- src/backend/libpq/ip.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/backend/libpq/ip.c') diff --git a/src/backend/libpq/ip.c b/src/backend/libpq/ip.c index d1cd2b152a..595c99a81b 100644 --- a/src/backend/libpq/ip.c +++ b/src/backend/libpq/ip.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/libpq/ip.c,v 1.34 2006/03/05 15:58:27 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/libpq/ip.c,v 1.35 2006/06/07 22:24:43 momjian Exp $ * * This file and the IPV6 implementation were initially provided by * Nigel Kukard , Linux Based Systems Design @@ -20,7 +20,6 @@ /* This is intended to be used in both frontend and backend, so use c.h */ #include "c.h" -#ifndef WIN32_CLIENT_ONLY #include #include #include @@ -33,7 +32,6 @@ #endif #include #include -#endif #include "libpq/ip.h" -- cgit v1.2.1