From: Ivan Maidanski Date: Thu, 30 Mar 2017 07:27:43 +0000 (+0300) Subject: Check that GC_WIN32_PTHREADS is not specified for Cygwin X-Git-Tag: v8.0.0~800 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61c6fbb9d07022d30ce4652cdcbaaed1820ae390;p=gc Check that GC_WIN32_PTHREADS is not specified for Cygwin * include/private/gcconfig.h [!CPPCHECK && GC_WIN32_PTHREADS && CYGWIN32]: Issue #error (because GC_WIN32_PTHREADS should not be specified for Cygwin). --- diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index 591c7763..b8056156 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -2993,6 +2993,9 @@ && !defined(MSWINCE) # error --> inconsistent configuration #endif +# if defined(GC_WIN32_PTHREADS) && defined(CYGWIN32) +# error --> inconsistent configuration +# endif #endif /* !CPPCHECK */ #if defined(PCR) || defined(GC_WIN32_THREADS) || defined(GC_PTHREADS) \