summaryrefslogtreecommitdiff
path: root/devel/boehm-gc/patches/patch-ad
blob: c1f52dde938b68996b2b24abfe8cdc35159d6db6 (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.8 2001/09/08 00:36:10 kei Exp $

--- include/private/gcconfig.h.orig	Mon Aug 28 16:56:19 2000
+++ include/private/gcconfig.h
@@ -75,6 +75,10 @@
 #    endif
 #    define mach_type_known
 # endif
+# if defined(__NetBSD__) && defined(__vax__)
+#    define VAX
+#    define mach_type_known
+# endif
 # if defined(mips) || defined(__mips)
 #    define MIPS
 #    if !defined(LINUX)
@@ -690,6 +694,10 @@
 #   ifdef ULTRIX
 #	define OS_TYPE "ULTRIX"
 #	define STACKBOTTOM ((ptr_t) 0x7fffc800)
+#   endif
+#   ifdef NETBSD
+#	define OS_TYPE "NETBSD"
+#	define HEURISTIC2
 #   endif
 # endif