aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-04-29 15:50:56 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-04-29 15:50:56 -0400
commit5e5eceb0de4e0afb3f16abb453214aa171c630af (patch)
treec944f86d8d1010ccbd3680b6e50cc6cf0be66f8b
parentb7095912c77900eab6ad667a6eeb1add18ac8071 (diff)
downloadzig-5e5eceb0de4e0afb3f16abb453214aa171c630af.tar.gz
zig-5e5eceb0de4e0afb3f16abb453214aa171c630af.zip
fix bootstrap_lib for windows
-rw-r--r--std/special/bootstrap_lib.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/special/bootstrap_lib.zig b/std/special/bootstrap_lib.zig
index 40b6588838..a7aede28ec 100644
--- a/std/special/bootstrap_lib.zig
+++ b/std/special/bootstrap_lib.zig
@@ -3,7 +3,7 @@
const std = @import("std");
comptime {
- @export("_DllMainCRTStartup", _DllMainCRTStartup);
+ @export("_DllMainCRTStartup", _DllMainCRTStartup, builtin.GlobalLinkage.Strong);
}
stdcallcc fn _DllMainCRTStartup(hinstDLL: std.os.windows.HINSTANCE, fdwReason: std.os.windows.DWORD,