diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-09-27 11:44:15 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-09-27 18:59:50 +0200 |
| commit | bdffe2484cfffefd2f3321cb42890be70887cf44 (patch) | |
| tree | d0479d4e02301160ddb11c09f154d115cc70d80f /executor/common_windows.h | |
| parent | 11fc874fb5c0446e3eebe3a3ca4bad19c6407505 (diff) | |
executor: fix execution of windows syscalls
First, they must be called with stdcall convention.
Second, wrap them in __try/__except because they can crash.
Diffstat (limited to 'executor/common_windows.h')
| -rw-r--r-- | executor/common_windows.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/common_windows.h b/executor/common_windows.h index 80c197a4a..dbc6b67c3 100644 --- a/executor/common_windows.h +++ b/executor/common_windows.h @@ -7,6 +7,7 @@ #define doexit exit #define NORETURN +#define SYSCALLAPI WINAPI #include "common.h" |
