patch-nspr_pr_src_misc_prnetdb_c 495 B

12345678910111213141516
  1. --- nspr-4.10.2.orig/nspr/pr/src/misc/prnetdb.c 2013-11-09 10:49:40.000000000 +0100
  2. +++ nspr-4.10.2/nspr/pr/src/misc/prnetdb.c 2014-01-06 17:48:32.869546316 +0100
  3. @@ -89,6 +89,13 @@ PRLock *_pr_dnsLock = NULL;
  4. #define _PR_HAVE_5_ARG_GETPROTO_R
  5. #endif
  6. +#if !defined(__GLIBC__)
  7. +#undef _PR_HAVE_GETPROTO_R
  8. +#undef _PR_HAVE_GETPROTO_R_INT
  9. +#undef _PR_HAVE_GETPROTO_R_POINTER
  10. +#undef _PR_HAVE_5_ARG_GETPROTO_R
  11. +#endif
  12. +
  13. #if !defined(_PR_HAVE_GETPROTO_R)
  14. PRLock* _getproto_lock = NULL;
  15. #endif