diff --git a/src/common/thread.cpp b/src/common/thread.cpp index 3f0fb48c25..cbc2be3f8b 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(_WIN32) || defined(_MSC_VER) +#elif defined(__MINGW64__) // mingw stub (void)name; #else