IF ( HOST MATCHES .*-.*-cygwin.*)
ADD_DEFINITIONS("-DGC_THREADS")
ADD_DEFINITIONS("-DTHREAD_LOCAL_ALLOC")
- SET(SRC ${SRC} thread_local_alloc.c)
-#TODO
-# win32_threads=true
+ SET(SRC ${SRC} thread_local_alloc.c win32_threads.c)
ENDIF()
IF ( HOST MATCHES .*-.*-darwin.*)
ADD_DEFINITIONS("-DGC_DARWIN_THREADS")
IF(CMAKE_USE_WIN32_THREADS_INIT)
ADD_DEFINITIONS("-DGC_THREADS")
- #win32_threads=true TODO
IF(enable_parallel_mark)
ADD_DEFINITIONS("-DTHREAD_LOCAL_ALLOC")
SET(SRC ${SRC} thread_local_alloc.c)