aboutsummaryrefslogtreecommitdiff
path: root/src/port/inet_aton.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-06-07 22:24:46 +0000
committerBruce Momjian <bruce@momjian.us>2006-06-07 22:24:46 +0000
commit399a36a75d2d06bfdb91402713d408271b4833ba (patch)
treeb8391f6bda4680d37ac430c3270c67bde979d842 /src/port/inet_aton.c
parent877e296306a2017a18fc7086e9742c8ee3e0a665 (diff)
downloadpostgresql-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/port/inet_aton.c')
-rw-r--r--src/port/inet_aton.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/port/inet_aton.c b/src/port/inet_aton.c
index f5a64dbdbb5..7ea3512a6db 100644
--- a/src/port/inet_aton.c
+++ b/src/port/inet_aton.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/port/inet_aton.c,v 1.8 2005/10/15 02:49:51 momjian Exp $
+/* $PostgreSQL: pgsql/src/port/inet_aton.c,v 1.9 2006/06/07 22:24:46 momjian Exp $
*
* This inet_aton() function was taken from the GNU C library and
* incorporated into Postgres for those systems which do not have this
@@ -44,10 +44,8 @@
#include "c.h"
-#ifndef WIN32_CLIENT_ONLY
#include <netinet/in.h>
#include <ctype.h>
-#endif
/*
* Check whether "cp" is a valid ascii representation