patch-mozilla_nsprpub_pr_src_misc_prnetdb_c 638 B

12345678910111213141516
  1. * patch from alpinelinux
  2. --- nspr-4.9.6.orig/mozilla/nsprpub/pr/src/misc/prnetdb.c 2012-09-28 16:33:48.000000000 +0200
  3. +++ nspr-4.9.6/mozilla/nsprpub/pr/src/misc/prnetdb.c 2013-10-21 18:07:57.000000000 +0200
  4. @@ -61,10 +61,7 @@ PRLock *_pr_dnsLock = NULL;
  5. #define _PR_HAVE_GETPROTO_R_POINTER
  6. #endif
  7. -#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT)) \
  8. - || (defined(LINUX) && defined(_REENTRANT) \
  9. - && !(defined(__GLIBC__) && __GLIBC__ >= 2) \
  10. - && !defined(ANDROID))
  11. +#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT))
  12. #define _PR_HAVE_GETPROTO_R
  13. #define _PR_HAVE_GETPROTO_R_POINTER
  14. #endif