Check that GC_WIN32_PTHREADS is not specified for Cygwin
authorIvan Maidanski <ivmai@mail.ru>
Thu, 30 Mar 2017 07:27:43 +0000 (10:27 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 30 Mar 2017 07:27:43 +0000 (10:27 +0300)
* include/private/gcconfig.h [!CPPCHECK && GC_WIN32_PTHREADS
&& CYGWIN32]: Issue #error (because GC_WIN32_PTHREADS should not be
specified for Cygwin).

include/private/gcconfig.h

index 591c776..b805615 100644 (file)
     && !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) \