projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0adfd7a
)
netdb: require glibc 2.9 for getaddrinfo_a()
author
Marko Kreen
<markokr@gmail.com>
Fri, 25 Mar 2011 07:13:35 +0000
(09:13 +0200)
committer
Marko Kreen
<markokr@gmail.com>
Fri, 25 Mar 2011 07:13:35 +0000
(09:13 +0200)
usual/netdb.h
patch
|
blob
|
blame
|
history
diff --git
a/usual/netdb.h
b/usual/netdb.h
index 79f22288a3e459930370cb85ab11bf498154e254..59b55b4e226cbe80b64ea88e903173de4767cea8 100644
(file)
--- a/
usual/netdb.h
+++ b/
usual/netdb.h
@@
-31,9
+31,11
@@
#endif
/* older glibcs have broken getaddrinfo_a() */
-#if defined(__GLIBC_PREREQ) && !__GLIBC_PREREQ(2,7)
+#ifdef __GLIBC_PREREQ
+#if !__GLIBC_PREREQ(2,9)
#undef HAVE_GETADDRINFO_A
#endif
+#endif
#ifndef HAVE_GETADDRINFO_A