From c51d99117cafb188b808f90b90a5db77cf279f2e Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Mon, 22 Nov 2010 07:12:35 +0000 Subject: [PATCH] use mmap on freebsd too --- code/qcommon/vm_x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/vm_x86.c b/code/qcommon/vm_x86.c index 00b5f540..f3de65db 100644 --- a/code/qcommon/vm_x86.c +++ b/code/qcommon/vm_x86.c @@ -36,7 +36,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA /* need this on NX enabled systems (i386 with PAE kernel or * noexec32=on x86_64) */ -#ifdef __linux__ +#if defined(__linux__) || defined(__FreeBSD__) #define VM_X86_MMAP #endif