mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
Allow INVALID_HANDLE_VALUE for windows to work on 32-bit and 64-bit. (#457)
This commit is contained in:
parent
0f7544cfca
commit
3f8b26c06a
@ -72,7 +72,7 @@ pub const STD_OUTPUT_HANDLE = @maxValue(DWORD) - 11 + 1;
|
|||||||
/// The standard error device. Initially, this is the active console screen buffer, CONOUT$.
|
/// The standard error device. Initially, this is the active console screen buffer, CONOUT$.
|
||||||
pub const STD_ERROR_HANDLE = @maxValue(DWORD) - 12 + 1;
|
pub const STD_ERROR_HANDLE = @maxValue(DWORD) - 12 + 1;
|
||||||
|
|
||||||
pub const INVALID_HANDLE_VALUE = @intToPtr(HANDLE, 0xFFFFFFFFFFFFFFFF);
|
pub const INVALID_HANDLE_VALUE = @intToPtr(HANDLE, @maxValue(usize));
|
||||||
|
|
||||||
pub const OVERLAPPED = extern struct {
|
pub const OVERLAPPED = extern struct {
|
||||||
Internal: ULONG_PTR,
|
Internal: ULONG_PTR,
|
||||||
|
Loading…
Reference in New Issue
Block a user