projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51e9bfd
)
Mesa: Use mmap on Haiku for executable memory vs malloc
author
Alexander von Gluck IV
<kallisti5@unixzen.com>
Mon, 29 Apr 2013 23:08:02 +0000
(18:08 -0500)
committer
Alexander von Gluck IV
<kallisti5@unixzen.com>
Tue, 30 Apr 2013 04:22:35 +0000
(23:22 -0500)
* Haiku now has DEP enabled by default.
src/mesa/main/execmem.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/execmem.c
b/src/mesa/main/execmem.c
index bb9c70a40084575f05c3ae2c076f91e3efd7f59b..5f319661e11be9d77c006bfe86b223f580b5a636 100644
(file)
--- 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