diff options
Diffstat (limited to 'games/worldofpadman/files/patch-code__qcommon__vm_x86_64.c')
-rw-r--r-- | games/worldofpadman/files/patch-code__qcommon__vm_x86_64.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/worldofpadman/files/patch-code__qcommon__vm_x86_64.c b/games/worldofpadman/files/patch-code__qcommon__vm_x86_64.c new file mode 100644 index 000000000000..c5e215cb7000 --- /dev/null +++ b/games/worldofpadman/files/patch-code__qcommon__vm_x86_64.c @@ -0,0 +1,11 @@ +--- code/qcommon/vm_x86_64.c.orig 2008-05-10 10:05:55.000000000 -0300 ++++ code/qcommon/vm_x86_64.c 2008-08-10 11:36:11.000000000 -0300 +@@ -534,7 +534,7 @@ + { + compiledOfs = assembler_get_code_size(); + vm->codeLength = compiledOfs; +- vm->codeBase = mmap(NULL, compiledOfs, PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0); ++ vm->codeBase = mmap(NULL, compiledOfs, PROT_WRITE, MAP_SHARED|MAP_ANON, -1, 0); + if(vm->codeBase == (void*)-1) + Com_Error(ERR_DROP, "VM_CompileX86: can't mmap memory"); + |