patch-boehm-gc_mach_dep_c 784 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-boehm-gc_mach_dep_c,v 1.1.1.1 2014/06/26 16:30:15 pascal Exp $
  2. --- boehm-gc/mach_dep.c.orig Wed Jan 25 04:03:14 2006
  3. +++ boehm-gc/mach_dep.c Tue Nov 22 14:12:40 2011
  4. @@ -27,7 +27,7 @@
  5. # endif
  6. # endif
  7. -#if defined(RS6000) || defined(POWERPC)
  8. +#if (defined(RS6000) || defined(POWERPC)) && !defined(OPENBSD)
  9. # include <ucontext.h>
  10. #endif
  11. @@ -417,7 +417,7 @@ ptr_t arg;
  12. /* the stack. */
  13. __builtin_unwind_init();
  14. # else /* !HAVE_BUILTIN_UNWIND_INIT */
  15. -# if defined(RS6000) || defined(POWERPC)
  16. +# if (defined(RS6000) || defined(POWERPC)) && !defined(OPENBSD)
  17. /* FIXME: RS6000 means AIX. */
  18. /* This should probably be used in all Posix/non-gcc */
  19. /* settings. We defer that change to minimize risk. */