aboutsummaryrefslogtreecommitdiff
path: root/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'os.h')
-rw-r--r--os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os.h b/os.h
index 36a7757..0eff7ce 100644
--- a/os.h
+++ b/os.h
@@ -33,6 +33,8 @@ inline bool os_mprot(void *mem, int len, int mode) {
return !!VirtualProtect(mem, len, mode, &old);
}
+#define VIRTUAL __thiscall
+
#endif
// vi: sw=4 ts=4 noet tw=80 cc=80