From d8af401b2ca527cab11cb794d1cbe3fd1e64ec8b Mon Sep 17 00:00:00 2001 From: Fernando Sahmkow Date: Sat, 4 Feb 2017 18:36:38 -0500 Subject: Fix Microprofile in MinGW (#2530) --- externals/microprofile/microprofile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'externals/microprofile') diff --git a/externals/microprofile/microprofile.h b/externals/microprofile/microprofile.h index f45c9ba82..384863ccc 100644 --- a/externals/microprofile/microprofile.h +++ b/externals/microprofile/microprofile.h @@ -201,7 +201,7 @@ typedef uint64_t ThreadIdType; int64_t MicroProfileGetTick(); #define MP_TICK() MicroProfileGetTick() #define MP_BREAK() __debugbreak() -#define MP_THREAD_LOCAL __declspec(thread) +#define MP_THREAD_LOCAL thread_local #define MP_STRCASECMP _stricmp #define MP_GETCURRENTTHREADID() GetCurrentThreadId() typedef uint32_t ThreadIdType; -- cgit v1.2.3