diff --git a/src/backends/common.zig b/src/backends/common.zig index b79b3a18..33840baf 100644 --- a/src/backends/common.zig +++ b/src/backends/common.zig @@ -16,7 +16,7 @@ pub fn windowsAttachConsole() !void { const ATTACH_PARENT_PROCESS: std.os.windows.DWORD = 0xFFFFFFFF; //DWORD(-1) const res = winapi.AttachConsole(ATTACH_PARENT_PROCESS); - if (res == std.os.windows.FALSE) return error.CouldNotAttachConsole; + if (res == std.os.windows.BOOL.FALSE) return error.CouldNotAttachConsole; } /// Gets the preferred color scheme from the Windows registry