362ff059e3
still doesn't work. - update gcc4.port.mk for gcc 4.6: always use libestdc++
22 lines
780 B
Plaintext
22 lines
780 B
Plaintext
$OpenBSD: patch-boehm-gc_mach_dep_c,v 1.2 2011/11/22 21:46:39 pascal Exp $
|
|
--- boehm-gc/mach_dep.c.orig Wed Jan 25 04:03:14 2006
|
|
+++ boehm-gc/mach_dep.c Tue Nov 22 14:12:40 2011
|
|
@@ -27,7 +27,7 @@
|
|
# endif
|
|
# endif
|
|
|
|
-#if defined(RS6000) || defined(POWERPC)
|
|
+#if (defined(RS6000) || defined(POWERPC)) && !defined(OPENBSD)
|
|
# include <ucontext.h>
|
|
#endif
|
|
|
|
@@ -417,7 +417,7 @@ ptr_t arg;
|
|
/* the stack. */
|
|
__builtin_unwind_init();
|
|
# else /* !HAVE_BUILTIN_UNWIND_INIT */
|
|
-# if defined(RS6000) || defined(POWERPC)
|
|
+# if (defined(RS6000) || defined(POWERPC)) && !defined(OPENBSD)
|
|
/* FIXME: RS6000 means AIX. */
|
|
/* This should probably be used in all Posix/non-gcc */
|
|
/* settings. We defer that change to minimize risk. */
|