From d09460283b0e8a9312159ead9d4271a2a8124f65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Fri, 13 Jan 2023 21:10:20 +0000 Subject: [PATCH] MinGW: Fix -Wattributes --- include/ws_attributes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ws_attributes.h b/include/ws_attributes.h index de0e5da78c..d004280e76 100644 --- a/include/ws_attributes.h +++ b/include/ws_attributes.h @@ -107,7 +107,7 @@ extern "C" { * the major UN*X C compilers support __thread and the major Windows C * compilers support __declspec(thread). */ -#ifdef _WIN32 +#ifdef _MSC_VER #define WS_THREAD_LOCAL __declspec(thread) #else #define WS_THREAD_LOCAL __thread