1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/devel/boehm-gc/files/patch-af
David E. O'Brien cd8bbd70a4 Enough FreeBSD/Alpha support to at least allow this to compile.
Functionality is untested at this time.
2000-07-19 09:10:43 +00:00

23 lines
700 B
Plaintext

--- os_dep.c.orig Wed Jul 19 01:59:57 2000
+++ os_dep.c Wed Jul 19 02:06:27 2000
@@ -81,2 +81,7 @@
+# if defined(FREEBSD) && \
+ (defined(POWERPC) || defined(SPARC) || defined(ALPHA) || defined(IA64))
+# define NEED_FIND_LIMIT
+# endif
+
#ifdef NEED_FIND_LIMIT
@@ -85,3 +90,3 @@
-#ifdef FREEBSD
+#if defined(FREEBSD) && defined(I386)
# include <machine/trap.h>
@@ -144,4 +149,4 @@
-#if defined(LINUX) && (defined(POWERPC) || defined(SPARC) || defined(ALPHA) \
- || defined(IA64))
+#if (defined(FREEBSD) || defined(LINUX)) \
+ && (defined(POWERPC) || defined(SPARC) || defined(ALPHA) || defined(IA64))
/* The I386 case can be handled without a search. The Alpha case */