From 02448409162d7ed8c8eb003d6518f51f40c69fb0 Mon Sep 17 00:00:00 2001 From: crueter Date: Sun, 2 Nov 2025 00:31:50 -0400 Subject: [PATCH] better mingw guard Signed-off-by: crueter --- src/common/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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