blob: bbf22cab34b7659c7f490de24b53b4d27e344a99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-an,v 1.1 2007/10/16 20:28:46 tonio Exp $
--- mozilla/nsprpub/pr/include/md/_freebsd.h.orig Mon Nov 22 22:24:53 2004
+++ mozilla/nsprpub/pr/include/md/_freebsd.h
@@ -106,6 +106,16 @@
#define _PR_IPV6_V6ONLY_PROBE
#endif
+#if (__FreeBSD_version >= 700016) || (__FreeBSD_version < 700000 && __FreeBSD_version >= 601103)
+#if defined(_PR_PTHREADS)
+#define _PR_HAVE_GETPROTO_R
+#define _PR_HAVE_5_ARG_GETPROTO_R
+#define _PR_HAVE_GETHOST_R
+#define _PR_HAVE_GETHOST_R_INT
+#define _PR_HAVE_THREADSAFE_GETHOST
+#endif
+#endif
+
#define USE_SETJMP
#ifndef _PR_PTHREADS
|