diff options
| author | Chris Boesch <[email protected]> | 2023-06-26 23:43:39 +0200 |
|---|---|---|
| committer | Chris Boesch <[email protected]> | 2023-06-26 23:43:39 +0200 |
| commit | a5a36337e88a15befbb814cdd14a4801e44f6673 (patch) | |
| tree | 026ae50af63d732bb862f8a5b92dbce86af405ea /build.zig | |
| parent | c3aed336e70392e33dfebf32489f803bf6736ab9 (diff) | |
| download | ziglings-a5a36337e88a15befbb814cdd14a4801e44f6673.tar.xz ziglings-a5a36337e88a15befbb814cdd14a4801e44f6673.zip | |
Revised exercises due to the changes of Zig version 0.11.0-dev.3853
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ pub fn build(b: *Build) !void { const WINAPI = std.os.windows.WINAPI; const DWORD = std.os.windows.DWORD; const ENABLE_VIRTUAL_TERMINAL_PROCESSING = 0x0004; - const STD_ERROR_HANDLE = @bitCast(DWORD, @as(i32, -12)); + const STD_ERROR_HANDLE: DWORD = @bitCast(@as(i32, -12)); extern "kernel32" fn GetStdHandle(id: DWORD) callconv(WINAPI) ?*anyopaque; extern "kernel32" fn GetConsoleMode(console: ?*anyopaque, out_mode: *DWORD) callconv(WINAPI) u32; extern "kernel32" fn SetConsoleMode(console: ?*anyopaque, mode: DWORD) callconv(WINAPI) u32; |
