Replace some dynamic functions with static ones.
PR [19271](https://github.com/ziglang/zig/pull/19271) added some static function implementations from kernel32, but some parts of the library still used the dynamically loaded versions.
This commit is contained in:
committed by
Andrew Kelley
parent
fa95c89a71
commit
1e74904aa2
@@ -484,7 +484,7 @@ const WindowsThreadImpl = struct {
|
||||
pub const ThreadHandle = windows.HANDLE;
|
||||
|
||||
fn getCurrentId() windows.DWORD {
|
||||
return windows.kernel32.GetCurrentThreadId();
|
||||
return windows.GetCurrentThreadId();
|
||||
}
|
||||
|
||||
fn getCpuCount() !usize {
|
||||
|
||||
Reference in New Issue
Block a user