From: Alan Coopersmith Date: Wed, 16 Jul 2008 19:47:27 +0000 (-0700) Subject: Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a06dd4de8756d7ebe99ed414c8d8dca5083241b8;p=mesa.git Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space Signed-off-by: Alan Coopersmith --- 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