aboutsummaryrefslogtreecommitdiffstats
path: root/main/nspr/fix-getproto.patch
blob: cb1a9b2977a1052ee75eebf2e49eff9a700e810d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/nspr/pr/src/misc/prnetdb.c
+++ b/nspr/pr/src/misc/prnetdb.c
@@ -58,9 +58,7 @@
  * an int, and glibc's flavor takes five arguments.
  */
 
-#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