summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-03-23 08:18:48 -0600
committerBrian Paul <brianp@vmware.com>2009-03-23 08:18:48 -0600
commit66f972ab55aa213b7df6b1871029d54e6f30f462 (patch)
tree2bf6a8578d13b0e2311bd3eac4a0ed25bc989525
parent17db2db9dc33e6e11bb5d3e0f4ff82439309dfbc (diff)
Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> (cherry picked from master, commit a06dd4de8756d7ebe99ed414c8d8dca5083241b8)
-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