From: Alexander von Gluck IV Date: Mon, 29 Apr 2013 23:08:41 +0000 (-0500) Subject: Gallium: Use mmap on Haiku for executable memory vs malloc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1361ed084c3805abfab461c638e62cbc9b0fcf5;p=mesa.git Gallium: Use mmap on Haiku for executable memory vs malloc * Haiku now has DEP enabled by default. --- diff --git a/src/gallium/auxiliary/rtasm/rtasm_execmem.c b/src/gallium/auxiliary/rtasm/rtasm_execmem.c index fbdb974a086..8f7cc2035b5 100644 --- a/src/gallium/auxiliary/rtasm/rtasm_execmem.c +++ b/src/gallium/auxiliary/rtasm/rtasm_execmem.c @@ -49,7 +49,7 @@ #include #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) /*