* src/mm/boehm-gc/ChangeLog, src/mm/boehm-gc/include/private/gc_priv.h:
authorStefan Ring <stefan@complang.tuwien.ac.at>
Sun, 23 Jan 2011 20:00:02 +0000 (21:00 +0100)
committerStefan Ring <stefan@complang.tuwien.ac.at>
Sun, 23 Jan 2011 20:00:02 +0000 (21:00 +0100)
Applied a patch from bdwgc CVS to make it build on Darwin.

src/mm/boehm-gc/ChangeLog
src/mm/boehm-gc/include/private/gc_priv.h

index faf6817b91361f5f55f62c3731d7ada13e40325b..28d175780855c8fc4e97d489558cb17cd6c9f0ee 100644 (file)
@@ -1,5 +1,10 @@
 [7.2alpha4]
 
+2009-12-07  Ivan Maidanski <ivmai@mail.ru> (with input from Andy Wingo)
+
+       * include/private/gc_priv.h (SIG_SUSPEND): Don't define for
+       OpenBSD and Darwin.
+
 2009-12-01  Ivan Maidanski <ivmai@mail.ru>
 
        * include/gc_version.h, configure.ac, doc/README: Change to
index 71f6b7a04a5b475d661c8c2cad0e55f8cc01c164..93e97e220a3a1e12d99da821f4d79c1bd382ce98 100644 (file)
@@ -2116,7 +2116,7 @@ GC_EXTERN signed_word GC_bytes_found;
        /* Linuxthreads itself uses SIGUSR1 and SIGUSR2.                 */
 #      define SIG_SUSPEND SIGPWR
 #    endif
-#   else  /* !GC_LINUX_THREADS */
+#   elif !defined(GC_OPENBSD_THREADS) && !defined(GC_DARWIN_THREADS)
 #     if defined(_SIGRTMIN)
 #       define SIG_SUSPEND _SIGRTMIN + 6
 #     else