Add _tls_index and _fltused for windows -no-crt
This commit is contained in:
1 parent
2252d992d7
commit
f24de51c65
2 files changed
+10
-1
No files matched your search
@@ -2,6 +2,14 @@ package runtime
|
||||
|
||||
foreign import kernel32 "system:Kernel32.lib"
|
||||
|
||||
@private
|
||||
@(link_name="_tls_index")
|
||||
_tls_index: u32;
|
||||
|
||||
@private
|
||||
@(link_name="_fltused")
|
||||
_fltused: i32 = 0x9875;
|
||||
|
||||
@(link_name="memcpy")
|
||||
memcpy :: proc "c" (dst, src: rawptr, len: int) -> rawptr {
|
||||
foreign kernel32 {
|
||||
|
||||
Reference in new issue
Block a user