Lines 1-5
Link Here
|
1 |
--- code/qcommon/vm_x86.c.orig 2008-08-18 01:22:06.000000000 +0200 |
1 |
--- code/qcommon/vm_x86.c.orig 2008-08-18 01:22:06.000000000 +0200 |
2 |
+++ code/qcommon/vm_x86.c 2010-11-27 14:01:33.000000000 +0100 |
2 |
+++ code/qcommon/vm_x86.c 2013-11-14 11:44:27.000000000 +0100 |
3 |
@@ -36,7 +36,25 @@ |
3 |
@@ -36,7 +36,25 @@ |
4 |
|
4 |
|
5 |
/* need this on NX enabled systems (i386 with PAE kernel or |
5 |
/* need this on NX enabled systems (i386 with PAE kernel or |
Lines 27-29
Link Here
|
27 |
#define VM_X86_MMAP |
27 |
#define VM_X86_MMAP |
28 |
#endif |
28 |
#endif |
29 |
|
29 |
|
|
|
30 |
@@ -90,7 +108,11 @@ |
31 |
static void (*const asmCallPtr)(void) = AsmCall; |
32 |
|
33 |
|
34 |
+#ifdef __clang__ |
35 |
+ int callMask = 0; |
36 |
+#else |
37 |
static int callMask = 0; |
38 |
+#endif |
39 |
|
40 |
static int instruction, pass; |
41 |
static int lastConst = 0; |