mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 20:28:15 +00:00
Correctly support -default-to-nil-allocator for all platforms
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user