mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
std: Move start_windows_tls.zig to os/windows/tls.zig.
Just to be consistent with Linux.
This commit is contained in:
parent
a931bfada5
commit
8056a85151
2 changed files with 3 additions and 3 deletions
|
|
@ -176,7 +176,7 @@ fn _DllMainCRTStartup(
|
|||
lpReserved: std.os.windows.LPVOID,
|
||||
) callconv(std.os.windows.WINAPI) std.os.windows.BOOL {
|
||||
if (!builtin.single_threaded and !builtin.link_libc) {
|
||||
_ = @import("start_windows_tls.zig");
|
||||
_ = @import("os/windows/tls.zig");
|
||||
}
|
||||
|
||||
if (@hasDecl(root, "DllMain")) {
|
||||
|
|
@ -427,7 +427,7 @@ fn _start() callconv(.Naked) noreturn {
|
|||
fn WinStartup() callconv(std.os.windows.WINAPI) noreturn {
|
||||
@setAlignStack(16);
|
||||
if (!builtin.single_threaded and !builtin.link_libc) {
|
||||
_ = @import("start_windows_tls.zig");
|
||||
_ = @import("os/windows/tls.zig");
|
||||
}
|
||||
|
||||
std.debug.maybeEnableSegfaultHandler();
|
||||
|
|
@ -438,7 +438,7 @@ fn WinStartup() callconv(std.os.windows.WINAPI) noreturn {
|
|||
fn wWinMainCRTStartup() callconv(std.os.windows.WINAPI) noreturn {
|
||||
@setAlignStack(16);
|
||||
if (!builtin.single_threaded and !builtin.link_libc) {
|
||||
_ = @import("start_windows_tls.zig");
|
||||
_ = @import("os/windows/tls.zig");
|
||||
}
|
||||
|
||||
std.debug.maybeEnableSegfaultHandler();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue