summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorAlan Coopersmith <[email protected]>2008-07-16 12:47:27 -0700
committerAlan Coopersmith <[email protected]>2009-03-06 20:06:26 -0800
commita06dd4de8756d7ebe99ed414c8d8dca5083241b8 (patch)
tree2e39b8725f281b9eca87afd870e92f68eb0f7283 /src/mesa
parent6ebd6c898a3ec350d1f62ccd66d2b6138275d35c (diff)
Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space
Signed-off-by: Alan Coopersmith <[email protected]>
Diffstat (limited to 'src/mesa')
-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 f95c31862a5..b71846c904d 100644
--- a/src/mesa/main/execmem.c
+++ b/src/mesa/main/execmem.c
@@ -36,7 +36,7 @@
-#if defined(__linux__) || defined(__OpenBSD__) || defined(_NetBSD__)
+#if defined(__linux__) || defined(__OpenBSD__) || defined(_NetBSD__) || defined(__sun)
/*
* Allocate a large block of memory which can hold code then dole it out