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/interfaces/libpq/fe-misc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/interfaces/libpq/fe-misc.c') diff --git a/src/interfaces/libpq/fe-misc.c b/src/interfaces/libpq/fe-misc.c index 5c113ae988d..011e57120c0 100644 --- a/src/interfaces/libpq/fe-misc.c +++ b/src/interfaces/libpq/fe-misc.c @@ -23,7 +23,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.127 2006/05/23 19:28:45 momjian Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.128 2006/06/07 22:24:46 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -34,10 +34,8 @@ #include #include -#ifndef WIN32_CLIENT_ONLY #include #include -#endif #ifdef WIN32 #include "win32.h" -- cgit v1.2.3