diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-06-07 22:24:46 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-06-07 22:24:46 +0000 |
commit | 399a36a75d2d06bfdb91402713d408271b4833ba (patch) | |
tree | b8391f6bda4680d37ac430c3270c67bde979d842 /src/backend/libpq/ip.c | |
parent | 877e296306a2017a18fc7086e9742c8ee3e0a665 (diff) | |
download | postgresql-399a36a75d2d06bfdb91402713d408271b4833ba.tar.gz postgresql-399a36a75d2d06bfdb91402713d408271b4833ba.zip |
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
Diffstat (limited to 'src/backend/libpq/ip.c')
-rw-r--r-- | src/backend/libpq/ip.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/libpq/ip.c b/src/backend/libpq/ip.c index d1cd2b152a0..595c99a81b7 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 <nkukard@lbsd.net>, 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 <errno.h> #include <unistd.h> #include <sys/types.h> @@ -33,7 +32,6 @@ #endif #include <arpa/inet.h> #include <sys/file.h> -#endif #include "libpq/ip.h" |