X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=74ef87b94ed0da554e6a152a878daab1ec697014;hp=b969ba0466599ec7f10f8682b43c3096e8dfb2e4;hb=d5f86b63597fdb25b8c670e42ca468c99ca95a74;hpb=15abcaedc1e32d4de913a2f7dea12578912371b7 diff --git a/src/Makefile b/src/Makefile index b969ba04..74ef87b9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -417,6 +417,7 @@ endif ### On mingw use Windows threads, otherwise POSIX ifneq ($(comp),mingw) + CXXFLAGS += -DUSE_PTHREADS # On Android Bionic's C library comes with its own pthread implementation bundled in ifneq ($(OS),Android) # Haiku has pthreads in its libroot, so only link it in on other platforms