commit a0e9f1e0c3ba3d5e240492723ff1aec8f6b2ba50 (tree)
parent 5e5eceb0de4e0afb3f16abb453214aa171c630af
Author: Andrew Kelley <superjoe30@gmail.com>
Date: Sun, 29 Apr 2018 15:51:23 -0400
fix bootstrap_lib for windows, take 2
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/std/special/bootstrap_lib.zig b/std/special/bootstrap_lib.zig
@@ -1,6 +1,7 @@
// This file is included in the compilation unit when exporting a library on windows.
const std = @import("std");
+const builtin = @import("builtin");
comptime {
@export("_DllMainCRTStartup", _DllMainCRTStartup, builtin.GlobalLinkage.Strong);