Merge "Return back EAI_ADDRFAMILY definition needed for libnl-2.0"

This commit is contained in:
Dmitry Shmidt 2011-03-21 16:03:30 -07:00 committed by Android (Google) Code Review
commit f8e658cf6b

View File

@ -137,10 +137,7 @@ struct addrinfo {
/* /*
* Error return codes from getaddrinfo() * Error return codes from getaddrinfo()
*/ */
#if 0
/* obsoleted */
#define EAI_ADDRFAMILY 1 /* address family for hostname not supported */ #define EAI_ADDRFAMILY 1 /* address family for hostname not supported */
#endif
#define EAI_AGAIN 2 /* temporary failure in name resolution */ #define EAI_AGAIN 2 /* temporary failure in name resolution */
#define EAI_BADFLAGS 3 /* invalid value for ai_flags */ #define EAI_BADFLAGS 3 /* invalid value for ai_flags */
#define EAI_FAIL 4 /* non-recoverable failure in name resolution */ #define EAI_FAIL 4 /* non-recoverable failure in name resolution */