From a06dd4de8756d7ebe99ed414c8d8dca5083241b8 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 16 Jul 2008 12:47:27 -0700 Subject: Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space Signed-off-by: Alan Coopersmith --- src/mesa/main/execmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') 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 -- cgit v1.2.3