summaryrefslogtreecommitdiff
path: root/devel/boehm-gc/patches/patch-ad
blob: 07f6435be2133c3b9759d43618a026154e1562de (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
27
28
29
30
31
32
33
34
35
$NetBSD: patch-ad,v 1.10 2002/12/27 10:11:53 uebayasi Exp $

--- include/private/gcconfig.h.orig	Wed Aug  7 03:49:22 2002
+++ include/private/gcconfig.h
@@ -77,7 +77,7 @@
 #    define SPARC
 #    define mach_type_known
 # endif
-# if defined(NETBSD) && defined(m68k)
+# if defined(NETBSD) && (defined(m68k) || defined(__m68k__))
 #    define M68K
 #    define mach_type_known
 # endif
@@ -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