mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Remove old define for thread local storage
This commit is contained in:
1 parent
ecceeaa810
commit
656adf1fcd
2 files changed
+1
-8
No files matched your search
@@ -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
|
||||
@@ -20,7 +20,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef TLS_SUPPORTED
|
||||
static __THREAD const char *curThreadName;
|
||||
static thread_local const char *curThreadName;
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW32__
|
||||
|
||||
Reference in new issue
Block a user