authorgravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2019-11-27 11:15:11+11:00
committergravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2019-11-27 13:01:30+11:00
log8aa3d6019c57c00282085d7cf87e84bff25cbe36
tree521a449280898068b89ca0aafe57ae51f56ea0c6
parent254c79125b7bc664ef2bfa1e81dcd170ab49aef2
signature Commit is signed but in an unrecognized format.

std: add windows.USHORT definition


1 files changed, 2 insertions(+), 1 deletions(-)

lib/std/os/windows/bits.zig+2-1
...@@ -19,7 +19,6 @@ pub const STD_OUTPUT_HANDLE = maxInt(DWORD) - 11 + 1;...@@ -19,7 +19,6 @@ pub const STD_OUTPUT_HANDLE = maxInt(DWORD) - 11 + 1;
19/// The standard error device. Initially, this is the active console screen buffer, CONOUT$.19/// The standard error device. Initially, this is the active console screen buffer, CONOUT$.
20pub const STD_ERROR_HANDLE = maxInt(DWORD) - 12 + 1;20pub const STD_ERROR_HANDLE = maxInt(DWORD) - 12 + 1;
2121
22pub const SHORT = c_short;
23pub const BOOL = c_int;22pub const BOOL = c_int;
24pub const BOOLEAN = BYTE;23pub const BOOLEAN = BYTE;
25pub const BYTE = u8;24pub const BYTE = u8;
...@@ -54,6 +53,8 @@ pub const UNICODE = false;...@@ -54,6 +53,8 @@ pub const UNICODE = false;
54pub const WCHAR = u16;53pub const WCHAR = u16;
55pub const WORD = u16;54pub const WORD = u16;
56pub const LARGE_INTEGER = i64;55pub const LARGE_INTEGER = i64;
56pub const USHORT = u16;
57pub const SHORT = i16;
57pub const ULONG = u32;58pub const ULONG = u32;
58pub const LONG = i32;59pub const LONG = i32;
59pub const ULONGLONG = u64;60pub const ULONGLONG = u64;