From: Zoltan Varga Date: Mon, 26 Oct 2009 20:00:09 +0000 (+0000) Subject: Fix osx build. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93236e288716e06f5eeef2c61d05afff56baff06;p=gc Fix osx build. svn path=/trunk/mono/; revision=144869 --- diff --git a/misc.c b/misc.c index 79c8178e..a4b5d518 100644 --- 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;