From cc7b6810e2fe6ab485fd96d5f17bf5d9329bd153 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 21 Oct 2005 18:09:24 +0000 Subject: [PATCH] Make execmem.c compile in the server (libGLcore). Since xf86mmap doesn't know about MAP_ANONYMOUS, this is the only viable fix. This issue will likely have to be revisited at some point. --- src/mesa/main/execmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/execmem.c b/src/mesa/main/execmem.c index 89deaafad3a..a6b110ae7ea 100644 --- a/src/mesa/main/execmem.c +++ b/src/mesa/main/execmem.c @@ -36,7 +36,7 @@ -#ifdef __linux__ +#if defined(__linux__) && !defined(XFree86Server) /* * Allocate a large block of memory which can hold code then dole it out