aboutsummaryrefslogtreecommitdiff
path: root/os.h
diff options
context:
space:
mode:
authorGravatar Matthew Wozniak <me@woz.blue> 2024-11-04 10:57:48 -0500
committerGravatar Matthew Wozniak <me@woz.blue> 2024-11-04 10:57:48 -0500
commit5296fc43920de4c6548f888a4d026f981b476cf7 (patch)
tree7d6d3e1b35361750059358cbd77ddc1b74892992 /os.h
parentb0e22ae772eceaeeb666492fde6678f90b0ec45a (diff)
downloadrt-5296fc43920de4c6548f888a4d026f981b476cf7.tar.gz
rt-5296fc43920de4c6548f888a4d026f981b476cf7.zip
video no audio
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