correct the calling convention of WinMainCRTStartup
parent
e3ebaab3c7
commit
521744bb91
|
@ -128,7 +128,7 @@ nakedcc fn _start() noreturn {
|
||||||
@noInlineCall(posixCallMainAndExit);
|
@noInlineCall(posixCallMainAndExit);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern fn WinMainCRTStartup() noreturn {
|
stdcallcc fn WinMainCRTStartup() noreturn {
|
||||||
@setAlignStack(16);
|
@setAlignStack(16);
|
||||||
if (!builtin.single_threaded) {
|
if (!builtin.single_threaded) {
|
||||||
_ = @import("start_windows_tls.zig");
|
_ = @import("start_windows_tls.zig");
|
||||||
|
|
Loading…
Reference in New Issue