mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 21:38:33 +00:00
Windows TLS startup symbols are already provided by libcrt when linking against libc
This commit is contained in:
parent
97ec177953
commit
a28c244afb
@ -54,7 +54,7 @@ fn _DllMainCRTStartup(
|
||||
fdwReason: std.os.windows.DWORD,
|
||||
lpReserved: std.os.windows.LPVOID,
|
||||
) callconv(.Stdcall) std.os.windows.BOOL {
|
||||
if (!builtin.single_threaded) {
|
||||
if (!builtin.single_threaded and !builtin.link_libc) {
|
||||
_ = @import("start_windows_tls.zig");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user