aboutsummaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-05-28 18:18:52 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-05-28 18:19:27 -0400
commitb66438eb8092ea93b255f0ba11f857b1d6ccb052 (patch)
tree7e351e82aeb9f5131a2a74f13ac1b9cc0aac5aee /std
parent528c151a55a76451b278057c40b29242241a70fd (diff)
downloadzig-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.zig7
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");
-
-