blob: a34891ceb0b7ec8bb978452d149171c4182d134a (
plain)
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
|
$NetBSD: patch-bb,v 1.1.1.1 2006/02/05 21:56:26 ghen Exp $
--- nsprpub/pr/include/md/_netbsd.h.orig 2006-02-02 16:57:57.000000000 +0100
+++ nsprpub/pr/include/md/_netbsd.h
@@ -44,6 +44,8 @@
#define _PR_SI_ARCHITECTURE "x86"
#elif defined(__alpha__)
#define _PR_SI_ARCHITECTURE "alpha"
+#elif defined(__amd64__)
+#define _PR_SI_ARCHITECTURE "amd64"
#elif defined(__m68k__)
#define _PR_SI_ARCHITECTURE "m68k"
#elif defined(__powerpc__)
@@ -95,6 +97,12 @@
#define _PR_HAVE_GETPROTO_R_INT
#endif
+#if __NetBSD_Version__ >= 106370000
+/* NetBSD 1.6ZK */
+#define _PR_HAVE_GETPROTO_R
+#define _PR_HAVE_GETPROTO_R_INT
+#endif
+
#define USE_SETJMP
#ifndef _PR_PTHREADS
|