Remove old define for thread local storage

This commit is contained in:
Henrik Rydgård committed 2020-09-29 15:51:51 +02:00
1 parent ecceeaa810
commit 656adf1fcd
2 files changed
+1 -8

No files matched your search

-7
View File
@@ -58,10 +58,3 @@ inline uint64_t swap64(uint64_t data) {return ((uint64_t)swap32(data) << 32) | s
inline uint16_t swap16(const uint8_t* _pData) {return swap16(*(const uint16_t*)_pData);}
inline uint32_t swap32(const uint8_t* _pData) {return swap32(*(const uint32_t*)_pData);}
inline uint64_t swap64(const uint8_t* _pData) {return swap64(*(const uint64_t*)_pData);}
// Thread local storage
#ifdef _MSC_VER
#define __THREAD __declspec( thread )
#else
#define __THREAD __thread
#endif
+1 -1
View File
@@ -20,7 +20,7 @@
#endif
#ifdef TLS_SUPPORTED
static __THREAD const char *curThreadName;
static thread_local const char *curThreadName;
#endif
#ifdef __MINGW32__