]> granicus.if.org Git - gc/commitdiff
Fix osx build.
authorZoltan Varga <vargaz@gmail.com>
Mon, 26 Oct 2009 20:00:09 +0000 (20:00 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 11:31:22 +0000 (15:31 +0400)
svn path=/trunk/mono/; revision=144869

misc.c

diff --git a/misc.c b/misc.c
index 79c8178e73e42cb187f7a4f0eb776e6e81ecd621..a4b5d5182bc2dae8500c1573ac3087793848b078 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -470,7 +470,7 @@ size_t GC_get_total_bytes GC_PROTO(())
 
 int GC_get_suspend_signal GC_PROTO(())
 {
-#ifdef SIG_SUSPEND
+#if defined(SIG_SUSPEND) && defined(GC_PTHREADS)
        return SIG_SUSPEND;
 #else
        return -1;