Gallium: Use mmap on Haiku for executable memory vs malloc
authorAlexander von Gluck IV <kallisti5@unixzen.com>
Mon, 29 Apr 2013 23:08:41 +0000 (18:08 -0500)
committerAlexander 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/gallium/auxiliary/rtasm/rtasm_execmem.c

index fbdb974a08624b914cca489c76e9db3b903cbb91..8f7cc2035b5c291b63b4c7ed758ae1e2d21b7f19 100644 (file)
@@ -49,7 +49,7 @@
 #include <windows.h>
 #endif
 
-#if defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) || defined(PIPE_OS_SOLARIS)
+#if defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) || defined(PIPE_OS_SOLARIS) || defined(PIPE_OS_HAIKU)
 
 
 /*