More correct checking of HAVE_DECL_AI_NUMERICSERV.
This commit is contained in:
parent
e50e8c97a9
commit
28ba006c1a
|
@ -594,8 +594,10 @@ struct winsize {
|
||||||
# undef HAVE_GAI_STRERROR
|
# undef HAVE_GAI_STRERROR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_GETADDRINFO) && !defined(HAVE_DECL_AI_NUMERICSERV)
|
#if defined(HAVE_GETADDRINFO)
|
||||||
# define AI_NUMERICSERV 0
|
# if defined(HAVE_DECL_AI_NUMERICSERV) && HAVE_DECL_AI_NUMERICSERV == 0
|
||||||
|
# define AI_NUMERICSERV 0
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(BROKEN_UPDWTMPX) && defined(HAVE_UPDWTMPX)
|
#if defined(BROKEN_UPDWTMPX) && defined(HAVE_UPDWTMPX)
|
||||||
|
|
Loading…
Reference in New Issue