aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common.h')
-rw-r--r--executor/common.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/executor/common.h b/executor/common.h
index f5b525cc4..a283f7fbe 100644
--- a/executor/common.h
+++ b/executor/common.h
@@ -23,7 +23,11 @@
#endif
#if defined(SYZ_EXECUTOR)
-typedef long (*syscall_t)(long, long, long, long, long, long, long, long, long);
+#ifndef SYSCALLAPI
+#define SYSCALLAPI
+#endif
+
+typedef long(SYSCALLAPI* syscall_t)(long, long, long, long, long, long, long, long, long);
struct call_t {
const char* name;
@@ -156,4 +160,4 @@ static uint16_t csum_inet_digest(struct csum_inet* csum)
{
return ~csum->acc;
}
-#endif \ No newline at end of file
+#endif