summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Sapountzis <[email protected]>2007-04-07 18:41:14 +0300
committerGeorge Sapountzis <[email protected]>2007-04-07 18:41:14 +0300
commit20ec486baf6ee0909294e15550773f57f0789ec7 (patch)
treed2d25ee86fc36dbd5b4c09ad46687d52c1e6fd5a
parent55000888b9d1dcbf477d23afd16974450828a143 (diff)
Drop XFree86Server from execmem.c
This is a remnant from the libcwrapper days that can be removed now. It is the last XFree86 glitch in Mesa core. Reverts the following commit (thanks to Brian Paul for pointing to it): commit 8b1dc68662f2a18ea4e02c6d3247c5d1da741aa8 Author: Alan Hourihane <[email protected]> Date: Tue Jan 24 21:40:53 2006 +0000 pull in fix from 6.4 branch for XFree86Server definition commit cc7b6810e2fe6ab485fd96d5f17bf5d9329bd153 Author: Ian Romanick <[email protected]> Date: Fri Oct 21 18:09:24 2005 +0000 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 b7cbc818c66..df3095232de 100644
--- a/src/mesa/main/execmem.c
+++ b/src/mesa/main/execmem.c
@@ -36,7 +36,7 @@
-#if defined(__linux__) && !defined(XFree86Server)
+#if defined(__linux__)
/*
* Allocate a large block of memory which can hold code then dole it out