summaryrefslogtreecommitdiff
path: root/system/nspr/fix-getproto.patch
blob: a96d14730825e5fc26da2231c11e5f21c31e7117 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./nspr/pr/src/misc/prnetdb.c.orig
+++ ./nspr/pr/src/misc/prnetdb.c
@@ -61,9 +61,7 @@
 #define _PR_HAVE_GETPROTO_R_POINTER
 #endif
 
-#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT)) \
-	|| (defined(LINUX) && defined(_REENTRANT) \
-        && defined(__GLIBC__) && __GLIBC__ < 2)
+#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT))
 #define _PR_HAVE_GETPROTO_R
 #define _PR_HAVE_GETPROTO_R_POINTER
 #endif