From bdffe2484cfffefd2f3321cb42890be70887cf44 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 27 Sep 2017 11:44:15 +0200 Subject: executor: fix execution of windows syscalls First, they must be called with stdcall convention. Second, wrap them in __try/__except because they can crash. --- executor/common_windows.h | 1 + 1 file changed, 1 insertion(+) (limited to 'executor/common_windows.h') 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" -- cgit mrf-deployment