]> git.sesse.net Git - stockfish/blobdiff - src/thread_win32_osx.h
Explicitly rely on pthreads if possible
[stockfish] / src / thread_win32_osx.h
index c4b55a4812b96e9889864970b173d70fe752e12b..75ef5d9a32888ccae231bc65ff849ecbd25980af 100644 (file)
@@ -27,7 +27,7 @@
 /// The implementation calls pthread_create() with the stack size parameter
 /// equal to the linux 8MB default, on platforms that support it.
 
-#if defined(__APPLE__) || defined(__MINGW32__) || defined(__MINGW64__)
+#if defined(__APPLE__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(USE_PTHREADS)
 
 #include <pthread.h>