Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2009-10-26 23:00:09 +0300
committerZoltan Varga <vargaz@gmail.com>2009-10-26 23:00:09 +0300
commit8aed410a55d2815d7a1ac38ee9ff68b46bfb7e27 (patch)
treebae47b2ea6854c97177db52d93d0595d45a4b228 /libgc/misc.c
parent50b18b9dd0e4b9d00f607947e56bf9d37ab408e4 (diff)
Fix osx build.
svn path=/trunk/mono/; revision=144869
Diffstat (limited to 'libgc/misc.c')
-rw-r--r--libgc/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgc/misc.c b/libgc/misc.c
index 79c8178e73e..a4b5d5182bc 100644
--- a/libgc/misc.c
+++ b/libgc/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;