diff options
| author | gingerBill <bill@gingerbill.org> | 2021-11-04 17:25:37 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-11-04 17:25:37 +0000 |
| commit | ae25eaf10c9f8d0b29c7e5d9cbd2f6519c8126fd (patch) | |
| tree | 6e3add43181762eb621f4610630328794a6dcb29 /core/runtime | |
| parent | adcfca966e2ce725cd968f8702a553fcee741a56 (diff) | |
Correct foreign import library usage
Diffstat (limited to 'core/runtime')
| -rw-r--r-- | core/runtime/procs.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/runtime/procs.odin b/core/runtime/procs.odin index a403c2265..d588a2c2f 100644 --- a/core/runtime/procs.odin +++ b/core/runtime/procs.odin @@ -38,11 +38,11 @@ when ODIN_ARCH == "wasm32" || ODIN_ARCH == "wasm64" || (ODIN_NO_CRT && ODIN_OS ! } } else when ODIN_NO_CRT && ODIN_OS == "windows" { - foreign import Kernel32 "system:Kernel32.lib" + foreign import lib "system:NtDll.lib" @(private="file") @(default_calling_convention="std") - foreign Kernel32 { + foreign lib { RtlMoveMemory :: proc(dst, src: rawptr, length: int) --- RtlFillMemory :: proc(dst: rawptr, length: int, fill: i32) --- } |