[Mesa-dev] [PATCH 1/3] Mesa: Use mmap on Haiku for executable memory vs malloc

Alexander von Gluck IV kallisti5 at unixzen.com
Mon Apr 29 17:03:49 PDT 2013


* Haiku now has DEP enabled by default.
---
 src/mesa/main/execmem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/execmem.c b/src/mesa/main/execmem.c
index bb9c70a..5f31966 100644
--- a/src/mesa/main/execmem.c
+++ b/src/mesa/main/execmem.c
@@ -37,7 +37,7 @@
 
 
 
-#if defined(__linux__) || defined(__OpenBSD__) || defined(_NetBSD__) || defined(__sun)
+#if defined(__linux__) || defined(__OpenBSD__) || defined(_NetBSD__) || defined(__sun) || defined(__HAIKU__)
 
 /*
  * Allocate a large block of memory which can hold code then dole it out
-- 
1.8.2.2



More information about the mesa-dev mailing list