Use STL thread only on Windows.

This commit is contained in:
levlam 2022-09-14 14:19:09 +03:00
parent 273ae92a14
commit 5f98548e02

View File

@ -46,10 +46,10 @@
#if TD_EMSCRIPTEN
#define TD_THREAD_UNSUPPORTED 1
#elif TD_TIZEN || TD_LINUX || TD_DARWIN
#define TD_THREAD_PTHREAD 1
#else
#elif TD_WINDOWS
#define TD_THREAD_STL 1
#else
#define TD_THREAD_PTHREAD 1
#endif
#if TD_LINUX