* 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:
@ -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);
|
||||
|
Reference in New Issue
Block a user