correct the calling convention of WinMainCRTStartup

master
Andrew Kelley 2019-12-03 16:55:27 -05:00
parent e3ebaab3c7
commit 521744bb91
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9
1 changed files with 1 additions and 1 deletions

View File

@ -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");