Correctly support -default-to-nil-allocator for all platforms

This commit is contained in:
gingerBill
2021-11-04 11:03:21 +00:00
parent 1980f32bd6
commit 3fa7dabaa8
8 changed files with 81 additions and 92 deletions
+6 -4
View File
@@ -20,11 +20,13 @@ windows_trap_type_assertion :: proc "contextless" () -> ! {
}
when ODIN_NO_CRT {
@private
@(link_name="_tls_index")
@(private, export, link_name="_tls_index")
_tls_index: u32
@private
@(link_name="_fltused")
@(private, export, link_name="_fltused")
_fltused: i32 = 0x9875
@(private, export, link_name="__chkstk")
__chkstk :: proc "c" (rawptr) {
}
}