summaryrefslogtreecommitdiff
path: root/src/mesa/main/execmem.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-07-16 12:47:27 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-03-06 20:06:26 -0800
commita06dd4de8756d7ebe99ed414c8d8dca5083241b8 (patch)
tree2e39b8725f281b9eca87afd870e92f68eb0f7283 /src/mesa/main/execmem.c
parent6ebd6c898a3ec350d1f62ccd66d2b6138275d35c (diff)
Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'src/mesa/main/execmem.c')
-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 f95c31862a..b71846c904 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