summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/netdb.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-01-23 17:05:29 +0000
committerCorinna Vinschen <corinna@vinschen.de>2007-01-23 17:05:29 +0000
commitf28f68cc4f21f6d50f560cf50c520f62cc7abe7d (patch)
tree6957913b2bad555ea8a2eacf67cbb04927680be9 /winsup/cygwin/include/netdb.h
parentf7fee067b6fddc33fcefb24665daff46b2b18608 (diff)
downloadcygnal-f28f68cc4f21f6d50f560cf50c520f62cc7abe7d.tar.gz
cygnal-f28f68cc4f21f6d50f560cf50c520f62cc7abe7d.tar.bz2
cygnal-f28f68cc4f21f6d50f560cf50c520f62cc7abe7d.zip
* net.cc (gai_errmap): Add EAI_OVERFLOW entry. Fix formatting.
(cygwin_gai_strerror): Drop using EAI_MAX. (w32_to_gai_err): Ditto. * include/netdb.h: Define EAI_OVERFLOW. Remove EAI_MAX.
Diffstat (limited to 'winsup/cygwin/include/netdb.h')
-rw-r--r--winsup/cygwin/include/netdb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/include/netdb.h b/winsup/cygwin/include/netdb.h
index c9b46d3e7..59c328602 100644
--- a/winsup/cygwin/include/netdb.h
+++ b/winsup/cygwin/include/netdb.h
@@ -174,8 +174,7 @@ extern __declspec(dllimport) int h_errno;
#define EAI_SYSTEM 11
#define EAI_BADHINTS 12
#define EAI_PROTOCOL 13
-
-#define EAI_MAX 14
+#define EAI_OVERFLOW 14
#ifndef __INSIDE_CYGWIN_NET__
void endhostent (void);