Mesa: Use mmap on Haiku for executable memory vs malloc

* Haiku now has DEP enabled by default.
This commit is contained in:
Alexander von Gluck IV
2013-04-29 18:08:02 -05:00
parent 51e9bfdc48
commit 39bdf08628
+1 -1
View File
@@ -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