summaryrefslogtreecommitdiff
path: root/lib/inet_pton.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-04 06:06:36 +0000
committerYang Tse <yangsita@gmail.com>2007-04-04 06:06:36 +0000
commit8fe9376d542ef4f11b2049190de363f7b79436ec (patch)
tree9ad6908d6ed331e2cfad12eb65cd08b9f4e2b294 /lib/inet_pton.c
parenta1f72943e96172b4598bf3cb5993c554d1294b8c (diff)
downloadcurl-8fe9376d542ef4f11b2049190de363f7b79436ec.tar.gz
move WinSock definitions of EBADF, EINTR, EINVAL and EAFNOSUPPORT to setup_once.h
Diffstat (limited to 'lib/inet_pton.c')
-rw-r--r--lib/inet_pton.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/inet_pton.c b/lib/inet_pton.c
index 192d0624a..fb7feef28 100644
--- a/lib/inet_pton.c
+++ b/lib/inet_pton.c
@@ -41,10 +41,6 @@
#define INADDRSZ 4
#define INT16SZ 2
-#ifdef USE_WINSOCK
-#define EAFNOSUPPORT WSAEAFNOSUPPORT
-#endif
-
/*
* WARNING: Don't even consider trying to compile this on a system where
* sizeof(int) < 4. sizeof(int) > 4 is fine; all the world's not a VAX.