@@ -243,12 +243,12 @@ #define FORMAT64_MODIFIER "ll" #endif // _LP64 #define offset_of(klass,field) offsetof(klass,field) -#ifndef USE_LIBRARY_BASED_TLS_ONLY -#define THREAD_LOCAL_DECL __thread +#if __cplusplus < 201103L +#define thread_local __thread #endif // Inlining support #define NOINLINE #define ALWAYSINLINE inline __attribute__((always_inline))