* 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.
This commit is contained in:
Corinna Vinschen
2007-01-23 17:05:29 +00:00
parent f7fee067b6
commit f28f68cc4f
3 changed files with 24 additions and 17 deletions

View File

@ -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);