Add ODIN_NO_CRT global constant

This commit is contained in:
gingerBill
2021-11-04 00:50:28 +00:00
parent 3d06dddb72
commit 9ab71ca0da
5 changed files with 89 additions and 41 deletions
+8 -6
View File
@@ -19,10 +19,12 @@ windows_trap_type_assertion :: proc "contextless" () -> ! {
windows_trap_array_bounds()
}
// @private
// @(link_name="_tls_index")
// _tls_index: u32;
when ODIN_NO_CRT {
@private
@(link_name="_tls_index")
_tls_index: u32
// @private
// @(link_name="_fltused")
// _fltused: i32 = 0x9875;
@private
@(link_name="_fltused")
_fltused: i32 = 0x9875
}