From: Ivan Maidanski Date: Sat, 25 Feb 2012 10:59:05 +0000 (+0400) Subject: Fix SIG_SUSPEND definition (Win32) X-Git-Tag: gc7_3alpha2~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e581f1060ee777633d42573e220542d7febeaf29;p=gc Fix SIG_SUSPEND definition (Win32) * include/private/gc_priv.h (SIG_SUSPEND): Do not define for Cygwin and pthreads-w32 (since signals are not used for threads suspend/resume). --- diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h index 69c2bf08..308fceb6 100644 --- a/include/private/gc_priv.h +++ b/include/private/gc_priv.h @@ -2252,7 +2252,8 @@ GC_INNER ptr_t GC_store_debug_info(ptr_t p, word sz, const char *str, /* some other reason. */ #endif /* PARALLEL_MARK */ -#if defined(GC_PTHREADS) && !defined(NACL) && !defined(SIG_SUSPEND) +#if defined(GC_PTHREADS) && !defined(GC_WIN32_THREADS) && !defined(NACL) \ + && !defined(SIG_SUSPEND) /* We define the thread suspension signal here, so that we can refer */ /* to it in the dirty bit implementation, if necessary. Ideally we */ /* would allocate a (real-time?) signal using the standard mechanism. */