summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-10-21 18:09:24 +0000
committerIan Romanick <idr@us.ibm.com>2005-10-21 18:09:24 +0000
commitcc7b6810e2fe6ab485fd96d5f17bf5d9329bd153 (patch)
tree1bbcafb9f3ec60ca3e198195a16022be7effff6c
parent7b9fecee108df4a34b73c3edd37717a53c440628 (diff)
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.
-rw-r--r--src/mesa/main/execmem.c2
1 files changed, 1 insertions, 1 deletions
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