Skip to content

Commit b55acc2

Browse files
committed
kernel32.zig: add back GetSystemInfo for pageSize()
1 parent 02434e9 commit b55acc2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/std/os/windows/kernel32.zig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const WIN32_FIND_DATAW = windows.WIN32_FIND_DATAW;
4343
const Win32Error = windows.Win32Error;
4444
const WINAPI = windows.WINAPI;
4545
const WORD = windows.WORD;
46+
const SYSTEM_INFO = windows.SYSTEM_INFO;
4647

4748
// I/O - Filesystem
4849

@@ -671,3 +672,7 @@ pub extern "kernel32" fn SetLastError(
671672
pub extern "kernel32" fn GetSystemTimeAsFileTime(
672673
lpSystemTimeAsFileTime: *FILETIME,
673674
) callconv(WINAPI) void;
675+
676+
pub extern "kernel32" fn GetSystemInfo(
677+
lpSystemInfo: *SYSTEM_INFO,
678+
) callconv(WINAPI) void;

0 commit comments

Comments
 (0)