diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-05-28 18:18:52 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-05-28 18:19:27 -0400 |
| commit | b66438eb8092ea93b255f0ba11f857b1d6ccb052 (patch) | |
| tree | 7e351e82aeb9f5131a2a74f13ac1b9cc0aac5aee /std | |
| parent | 528c151a55a76451b278057c40b29242241a70fd (diff) | |
| download | zig-b66438eb8092ea93b255f0ba11f857b1d6ccb052.tar.gz zig-b66438eb8092ea93b255f0ba11f857b1d6ccb052.zip | |
no "use of undeclared identifer" in dead comptime branches
Diffstat (limited to 'std')
| -rw-r--r-- | std/os/bits/windows.zig | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/std/os/bits/windows.zig b/std/os/bits/windows.zig index a242113ba0..4959249a9a 100644 --- a/std/os/bits/windows.zig +++ b/std/os/bits/windows.zig @@ -158,10 +158,3 @@ pub const EWOULDBLOCK = 140; pub const EDQUOT = 10069; pub const F_OK = 0; - -// These are workarounds for "use of undeclared identifier" compile errors -// TODO make the compiler even more lazy. don't emit "use of undeclared identifier" errors -// for if branches that aren't taken. -pub const SIGKILL = @compileError("Windows libc does not have this"); - - |
