diff --git a/src/common/thread.cpp b/src/common/thread.cpp index cbc2be3f8b..832232cd15 100644 --- a/src/common/thread.cpp +++ b/src/common/thread.cpp @@ -109,7 +109,7 @@ void SetCurrentThreadName(const char* name) { buf[len] = '\0'; pthread_setname_np(pthread_self(), buf); } -#elif defined(__MINGW64__) +#elif defined(_WIN32) // mingw stub (void)name; #else