From a0a940f9388196667e3c7b7d67714498e989217b Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 2 Dec 2018 13:58:31 +0700 Subject: [PATCH] Remove unused THREAD_LOCAL macro. --- src/util/util.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/util/util.h b/src/util/util.h index b9f3bdc28..0ca02bc84 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -63,14 +63,6 @@ static_assert(sizeof(int64_t) == 8, "64 bits"); #define VEC2PTR(_x_) ((_x_).size() ? &(_x_)[0] : 0) -#ifdef _WINDOWS -// Disable thread local declspec as it seems to not work downlevel. -// #define THREAD_LOCAL __declspec(thread) -#define THREAD_LOCAL -#else -#define THREAD_LOCAL -#endif - #ifdef _MSC_VER # define STD_CALL __cdecl #else