summaryrefslogtreecommitdiff
path: root/games/openarena/files/patch-code_qcommon_vm__x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/openarena/files/patch-code_qcommon_vm__x86.c')
-rw-r--r--games/openarena/files/patch-code_qcommon_vm__x86.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/openarena/files/patch-code_qcommon_vm__x86.c b/games/openarena/files/patch-code_qcommon_vm__x86.c
new file mode 100644
index 000000000000..7bc5b30118f5
--- /dev/null
+++ b/games/openarena/files/patch-code_qcommon_vm__x86.c
@@ -0,0 +1,15 @@
+--- code/qcommon/vm_x86.c.orig 2016-04-01 10:07:17 UTC
++++ code/qcommon/vm_x86.c
+@@ -90,8 +90,11 @@ static int ftolPtr = (int)qftol0F7F;
+ void AsmCall(void);
+ static void (*const asmCallPtr)(void) = AsmCall;
+
+-
++#ifdef __clang__
++ int callMask = 0;
++#else
+ static int callMask = 0;
++#endif
+
+ static int instruction, pass;
+ static int lastConst = 0;