aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/Thread.zig')
-rw-r--r--lib/std/Thread.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig
index b3bb79db59..c3802cc1fe 100644
--- a/lib/std/Thread.zig
+++ b/lib/std/Thread.zig
@@ -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 {