MinGW: Fix -Wattributes

This commit is contained in:
João Valverde 2023-01-13 21:10:20 +00:00
parent edd4295166
commit d09460283b
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ extern "C" {
* the major UN*X C compilers support __thread and the major Windows C * the major UN*X C compilers support __thread and the major Windows C
* compilers support __declspec(thread). * compilers support __declspec(thread).
*/ */
#ifdef _WIN32 #ifdef _MSC_VER
#define WS_THREAD_LOCAL __declspec(thread) #define WS_THREAD_LOCAL __declspec(thread)
#else #else
#define WS_THREAD_LOCAL __thread #define WS_THREAD_LOCAL __thread