mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
Windows TLS startup symbols are already provided by libcrt when linking against libc
This commit is contained in:
parent
0bc9fd5e8e
commit
fc67e5f843
@ -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