Skip to content

Commit 8aa3d60

Browse files
committed
std: add windows.USHORT definition
1 parent 254c791 commit 8aa3d60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/std/os/windows/bits.zig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ pub const STD_OUTPUT_HANDLE = maxInt(DWORD) - 11 + 1;
1919
/// The standard error device. Initially, this is the active console screen buffer, CONOUT$.
2020
pub const STD_ERROR_HANDLE = maxInt(DWORD) - 12 + 1;
2121

22-
pub const SHORT = c_short;
2322
pub const BOOL = c_int;
2423
pub const BOOLEAN = BYTE;
2524
pub const BYTE = u8;
@@ -54,6 +53,8 @@ pub const UNICODE = false;
5453
pub const WCHAR = u16;
5554
pub const WORD = u16;
5655
pub const LARGE_INTEGER = i64;
56+
pub const USHORT = u16;
57+
pub const SHORT = i16;
5758
pub const ULONG = u32;
5859
pub const LONG = i32;
5960
pub const ULONGLONG = u64;

0 commit comments

Comments
 (0)