blob: 78ccd2bcd91f0af36168f328de8d579f4c52a232 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- nsprpub/pr/include/md/_freebsd.h.orig Wed Dec 22 15:39:04 1999
+++ nsprpub/pr/include/md/_freebsd.h Thu Feb 3 03:48:20 2000
@@ -21,6 +21,7 @@
#include "prthread.h"
+#include <sys/param.h>
#include <sys/syscall.h>
#define PR_LINKER_ARCH "freebsd"
@@ -49,7 +50,7 @@
#define _PR_HAVE_SOCKADDR_LEN
#define _PR_STAT_HAS_ST_ATIMESPEC
#define _PR_NO_LARGE_FILES
-#if ( __FreeBSD__ > 2 )
+#if ( __FreeBSD_version >= 220000 ) && ( __FreeBSD_version < 400008 )
#if !defined(_PR_PTHREADS)
/*
* libc_r doesn't have poll(). Although libc has poll(), it is not
@@ -61,6 +62,11 @@
#endif
#define _PR_HAVE_SYSV_SEMAPHORES
#define PR_HAVE_SYSV_NAMED_SHARED_MEMORY
+
+#define _PR_INET6
+#define _PR_HAVE_GETIPNODEBYNAME
+#define _PR_HAVE_GETIPNODEBYADDR
+#define _PR_INET6_PROBE
#define USE_SETJMP
|