Module: Mesa
Branch: master
Commit: 39bdf086286890637a1310d8b09e04d45567b8eb
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=39bdf086286890637a1310d8b09e04d45567b8eb

Author: Alexander von Gluck IV <kallis...@unixzen.com>
Date:   Mon Apr 29 18:08:02 2013 -0500

Mesa: Use mmap on Haiku for executable memory vs malloc

* Haiku now has DEP enabled by default.

---

 src/mesa/main/execmem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to