diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d72f9eb..3f8fde9f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -342,10 +342,10 @@ endif(enable_werror) if (enable_single_obj_compilation OR BUILD_SHARED_LIBS) set(SRC extra/gc.c) # override SRC - if (CMAKE_USE_PTHREADS_INIT) + if (CMAKE_USE_PTHREADS_INIT AND NOT (CYGWIN OR MSYS)) add_definitions("-DGC_PTHREAD_START_STANDALONE") set(SRC ${SRC} pthread_start.c) - endif(CMAKE_USE_PTHREADS_INIT) + endif() elseif (BORLAND) # Suppress "GC_push_contents_hdr() is declared but never used" warning. add_compile_options(/w-use) |