[BACK]Return to gc-7.diff CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000

File: [local] / OpenXM_contrib2 / asir2000 / gc-7.diff (download)

Revision 1.1, Sun May 13 09:04:18 2012 UTC (11 years, 11 months ago) by ohara
Branch: MAIN
CVS Tags: RELEASE_1_3_1_13b

FreeBSD 4.x does not have ucontext(3).

diff -ubBr gc-7.2alpha6.orig/include/private/gcconfig.h gc-7.2alpha6/include/private/gcconfig.h
--- gc-7.2alpha6.orig/include/private/gcconfig.h	Wed Jun  1 00:27:12 2011
+++ gc-7.2alpha6/include/private/gcconfig.h	Sun May 13 17:37:47 2012
@@ -2424,6 +2424,7 @@
 #if ((defined(UNIX_LIKE) && (defined(DARWIN) || defined(HURD) \
                              || defined(OPENBSD) || defined(ARM32) \
                              || defined(MIPS) || defined(AVR32))) \
+     || (defined(FREEBSD) && defined(__FreeBSD__) && __FreeBSD__ < 5) \
      || (defined(LINUX) && (defined(SPARC) || defined(M68K))) \
      || (defined(RTEMS) && defined(I386))) && !defined(NO_GETCONTEXT)
 # define NO_GETCONTEXT