diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-12-03 16:55:27 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-12-03 16:55:27 -0500 |
| commit | 521744bb91b486bfab7d9a6bd74dd658da95ea18 (patch) | |
| tree | 1f4c254a76a3c5d016574c1e124a392973383964 /lib/std/special | |
| parent | e3ebaab3c71a9af833e30dc4fe3a7b49d5cd9149 (diff) | |
| download | zig-521744bb91b486bfab7d9a6bd74dd658da95ea18.tar.gz zig-521744bb91b486bfab7d9a6bd74dd658da95ea18.zip | |
correct the calling convention of WinMainCRTStartup
Diffstat (limited to 'lib/std/special')
| -rw-r--r-- | lib/std/special/start.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/special/start.zig b/lib/std/special/start.zig index c483fda756..a93b01c290 100644 --- a/lib/std/special/start.zig +++ b/lib/std/special/start.zig @@ -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"); |
