diff options
| author | zooster <r00ster91@proton.me> | 2022-10-02 16:48:40 +0200 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-10-03 13:05:38 +0300 |
| commit | db5562deb0fe193aced9498c05ccf786ca98ba05 (patch) | |
| tree | e5c629a4cfe8ebf1a5fdb72acca24729abca9dff /lib/std/os | |
| parent | 32d755beb8d83a666100ca9455df51b93caff1fc (diff) | |
| download | zig-db5562deb0fe193aced9498c05ccf786ca98ba05.tar.gz zig-db5562deb0fe193aced9498c05ccf786ca98ba05.zip | |
std.os.windows: fix HANDLER_ROUTINE callconv
Diffstat (limited to 'lib/std/os')
| -rw-r--r-- | lib/std/os/windows.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/os/windows.zig b/lib/std/os/windows.zig index c20457943b..f6d148a317 100644 --- a/lib/std/os/windows.zig +++ b/lib/std/os/windows.zig @@ -3695,4 +3695,4 @@ pub const CTRL_CLOSE_EVENT: DWORD = 2; pub const CTRL_LOGOFF_EVENT: DWORD = 5; pub const CTRL_SHUTDOWN_EVENT: DWORD = 6; -pub const HANDLER_ROUTINE = std.meta.FnPtr(fn (dwCtrlType: DWORD) callconv(.C) BOOL); +pub const HANDLER_ROUTINE = std.meta.FnPtr(fn (dwCtrlType: DWORD) callconv(WINAPI) BOOL); |
