mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 08:45:52 +00:00
correct the calling convention of WinMainCRTStartup
This commit is contained in:
parent
e3ebaab3c7
commit
521744bb91
@ -128,7 +128,7 @@ nakedcc fn _start() noreturn {
|
||||
@noInlineCall(posixCallMainAndExit);
|
||||
}
|
||||
|
||||
extern fn WinMainCRTStartup() noreturn {
|
||||
stdcallcc fn WinMainCRTStartup() noreturn {
|
||||
@setAlignStack(16);
|
||||
if (!builtin.single_threaded) {
|
||||
_ = @import("start_windows_tls.zig");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user