diff options
author | Alexander von Gluck IV <[email protected]> | 2013-04-29 18:08:02 -0500 |
---|---|---|
committer | Alexander von Gluck IV <[email protected]> | 2013-04-29 23:22:35 -0500 |
commit | 39bdf086286890637a1310d8b09e04d45567b8eb (patch) | |
tree | d811a4349988b0d32109c019234a17d8895866ed /src/mesa | |
parent | 51e9bfdc48b6d73aa0fa0a8f7911863b5968bdb9 (diff) |
Mesa: Use mmap on Haiku for executable memory vs malloc
* Haiku now has DEP enabled by default.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | 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 bb9c70a4008..5f319661e11 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 |