Mesa (master): Mesa: Use mmap on Haiku for executable memory vs malloc
Alexander von Gluck IV
kallisti5 at kemper.freedesktop.org
Tue Apr 30 04:20:11 UTC 2013
Module: Mesa
Branch: master
Commit: 39bdf086286890637a1310d8b09e04d45567b8eb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39bdf086286890637a1310d8b09e04d45567b8eb
Author: Alexander von Gluck IV <kallisti5 at 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
More information about the mesa-commit
mailing list