[openssh-commits] [openssh] 01/01: More correct checking of HAVE_DECL_AI_NUMERICSERV.

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Feb 21 15:41:53 AEDT 2015


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 28ba006c1acddff992ae946d0bc0b500b531ba6b
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Sat Feb 21 15:41:07 2015 +1100

    More correct checking of HAVE_DECL_AI_NUMERICSERV.
---
 defines.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/defines.h b/defines.h
index 1ec9467..1341606 100644
--- a/defines.h
+++ b/defines.h
@@ -594,8 +594,10 @@ struct winsize {
 # undef HAVE_GAI_STRERROR
 #endif
 
-#if defined(HAVE_GETADDRINFO) && !defined(HAVE_DECL_AI_NUMERICSERV)
-# define AI_NUMERICSERV	0
+#if defined(HAVE_GETADDRINFO)
+# if defined(HAVE_DECL_AI_NUMERICSERV) && HAVE_DECL_AI_NUMERICSERV == 0
+#   define AI_NUMERICSERV	0
+# endif
 #endif
 
 #if defined(BROKEN_UPDWTMPX) && defined(HAVE_UPDWTMPX)

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list