From f28f68cc4f21f6d50f560cf50c520f62cc7abe7d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 23 Jan 2007 17:05:29 +0000 Subject: * 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. --- winsup/cygwin/include/netdb.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'winsup/cygwin/include/netdb.h') 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); -- cgit v1.2.3