mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
Allow INVALID_HANDLE_VALUE for windows to work on 32-bit and 64-bit. (#457)
This commit is contained in:
committed by
Andrew Kelley
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$.
|
||||
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 {
|
||||
Internal: ULONG_PTR,
|
||||
|
||||
Reference in New Issue
Block a user