summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2016-01-12 16:52:19 +0100
committerFelix Janda <felix.janda@posteo.de>2016-01-12 16:52:19 +0100
commitb4c6a2bbff4c2be4e275ef2a9cf29e03dce9b970 (patch)
tree5c4c49a73eab63a92111e2831d64237eb51ed365
parent566bd26de642865bb6409438f3b4eb5e403f0092 (diff)
downloadnspr-hg-b4c6a2bbff4c2be4e275ef2a9cf29e03dce9b970.tar.gz
Bug 1128029, Fix compilation with musl libc, r=ted
-rw-r--r--pr/src/misc/prnetdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pr/src/misc/prnetdb.c b/pr/src/misc/prnetdb.c
index b86248f8..b2f6e435 100644
--- a/pr/src/misc/prnetdb.c
+++ b/pr/src/misc/prnetdb.c
@@ -63,8 +63,7 @@ PRLock *_pr_dnsLock = NULL;
#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT)) \
|| (defined(LINUX) && defined(_REENTRANT) \
- && !(defined(__GLIBC__) && __GLIBC__ >= 2) \
- && !defined(ANDROID))
+ && defined(__GLIBC__) && __GLIBC__ < 2)
#define _PR_HAVE_GETPROTO_R
#define _PR_HAVE_GETPROTO_R_POINTER
#endif