Gallium: Use mmap on Haiku for executable memory vs malloc 86/6286/1
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 fbdb974..8f7cc20 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)
 
 
 /*