ui
This commit is contained in:
@@ -110,13 +110,13 @@ typedef double f64;
|
||||
#define debug_break() (debug__break(), 0)
|
||||
|
||||
#if PLATFORM_WASM
|
||||
#define THREAD_LOCAL
|
||||
#define gb_thread
|
||||
#elif PLATFORM_GCC | PLATFORM_CLANG
|
||||
#define THREAD_LOCAL __thread
|
||||
#define gb_thread __thread
|
||||
#elif PLATFORM_CL
|
||||
#define THREAD_LOCAL __declspec(thread)
|
||||
#define gb_thread __declspec(thread)
|
||||
#else
|
||||
#define THREAD_LOCAL _Thread_local
|
||||
#define gb_thread _Thread_local
|
||||
#endif
|
||||
|
||||
#if PLATFORM_CL
|
||||
|
||||
Reference in New Issue
Block a user