summaryrefslogtreecommitdiff
path: root/lang/mzscheme/patches/patch-bf
blob: 1b1ce14c2a61c98fc43fb0627b6c6a29a349a7b3 (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
$NetBSD: patch-bf,v 1.1.1.1 2000/01/10 22:09:15 pooka Exp $

--- gc/mach_dep.c.orig	Thu Oct 21 22:06:14 1999
+++ gc/mach_dep.c	Thu Dec 30 22:17:41 1999
@@ -197,6 +197,8 @@
 	&& !defined(SCO) && !defined(SCO_ELF) \
  	&& !(defined(LINUX)       && defined(__ELF__)) \
 	&& !(defined(__FreeBSD__) && defined(__ELF__)) \
+	&& !(defined(__NetBSD__) && defined(__ELF__)) \
+	&& !(defined(__OpenBSD__) && defined(__ELF__)) \
 	&& !defined(DOS4GW)
 	/* I386 code, generic code does not appear to work */
 	/* It does appear to work under OS2, and asms dont */
@@ -211,7 +213,9 @@
 #       endif
 
 #	if ( defined(I386) && defined(LINUX) && defined(__ELF__) ) \
-	|| ( defined(I386) && defined(__FreeBSD__) && defined(__ELF__) )
+	|| ( defined(I386) && defined(__FreeBSD__) && defined(__ELF__) ) \
+	|| ( defined(I386) && defined(__NetBSD__) && defined(__ELF__) ) \
+	|| ( defined(I386) && defined(__OpenBSD__) && defined(__ELF__) )
 
 	/* This is modified for Linux with ELF (Note: _ELF_ only) */
 	/* This section handles FreeBSD with ELF. */