tcc build for linux, basic changes
This commit is contained in:
@@ -259,12 +259,14 @@ int IsDebuggerPresent(void);
|
||||
#elif PLATFORM_WASM
|
||||
void wasm_trap(void);
|
||||
#define debug__break() wasm_trap()
|
||||
#elif PLATFORM_TCC
|
||||
#define debug__break() raise(SIGTRAP)
|
||||
#else
|
||||
#define debug__break() __builtin_trap()
|
||||
#endif
|
||||
#define debug_break() (debug__break(), 1)
|
||||
|
||||
#if PLATFORM_WASM
|
||||
#if PLATFORM_WASM | PLATFORM_TCC
|
||||
#define gb_thread
|
||||
#elif PLATFORM_GCC | PLATFORM_CLANG
|
||||
#define gb_thread __thread
|
||||
|
||||
Reference in New Issue
Block a user