use EAI_NONAME instead of EAI_ADDRFAMILY to check for if we need EAI_ macros
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13169 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -172,7 +172,7 @@
|
|||||||
#define EAI_NOERROR 0 /* no error */
|
#define EAI_NOERROR 0 /* no error */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef EAI_ADDRFAMILY
|
#ifndef EAI_NONAME
|
||||||
|
|
||||||
#define EAI_ADDRFAMILY 1 /* address family for nodename not supported */
|
#define EAI_ADDRFAMILY 1 /* address family for nodename not supported */
|
||||||
#define EAI_AGAIN 2 /* temporary failure in name resolution */
|
#define EAI_AGAIN 2 /* temporary failure in name resolution */
|
||||||
@@ -186,7 +186,7 @@
|
|||||||
#define EAI_SOCKTYPE 10 /* ai_socktype not supported */
|
#define EAI_SOCKTYPE 10 /* ai_socktype not supported */
|
||||||
#define EAI_SYSTEM 11 /* system error returned in errno */
|
#define EAI_SYSTEM 11 /* system error returned in errno */
|
||||||
|
|
||||||
#endif /* EAI_ADDRFAMILY */
|
#endif /* EAI_NONAME */
|
||||||
|
|
||||||
/* flags for getaddrinfo() */
|
/* flags for getaddrinfo() */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user