summaryrefslogtreecommitdiff
path: root/devel/boehm-gc/patches/patch-ad
blob: d2a7a29960fd0c06802c602b33f4091314b2fcdc (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-ad,v 1.9 2002/09/25 18:18:52 wiz Exp $

--- include/private/gcconfig.h.orig	Mon Sep  9 14:56:06 2002
+++ include/private/gcconfig.h	Mon Sep  9 14:57:33 2002
@@ -98,6 +98,10 @@
 #    endif
 #    define mach_type_known
 # endif
+# if defined(__NetBSD__) && defined(__vax__)
+#    define VAX
+#    define mach_type_known
+# endif
 # if defined(mips) || defined(__mips) || defined(_mips)
 #    define MIPS
 #    if defined(nec_ews) || defined(_nec_ews)
@@ -752,6 +756,10 @@
 #   ifdef ULTRIX
 #	define OS_TYPE "ULTRIX"
 #	define STACKBOTTOM ((ptr_t) 0x7fffc800)
+#   endif
+#   ifdef NETBSD
+#      define OS_TYPE "NETBSD"
+#      define HEURISTIC2
 #   endif
 # endif