Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space
authorAlan Coopersmith <alan.coopersmith@sun.com>
Wed, 16 Jul 2008 19:47:27 +0000 (12:47 -0700)
committerAlan Coopersmith <alan.coopersmith@sun.com>
Sat, 7 Mar 2009 04:06:26 +0000 (20:06 -0800)
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
src/mesa/main/execmem.c

index f95c31862a5e2510659098f67e3b083409af08d8..b71846c904d5bcb75dacfaaa8236ff095c2f2b82 100644 (file)
@@ -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