[Mesa-dev] [PATCH] rtasm: Generalize executable memory allocator to all Unices.

Brian Paul brianp at vmware.com
Tue Jun 9 07:25:48 PDT 2015


On 06/09/2015 07:48 AM, Jose Fonseca wrote:
> We're only using fairly portable standard Unix calls here, so might as
> well save ourselves future trouble by enabling on all Unices by default.
>
> https://bugs.freedesktop.org/show_bug.cgi?id=90904
> ---
>   src/gallium/auxiliary/rtasm/rtasm_execmem.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/auxiliary/rtasm/rtasm_execmem.c b/src/gallium/auxiliary/rtasm/rtasm_execmem.c
> index 8c3dbef..f7e605e 100644
> --- a/src/gallium/auxiliary/rtasm/rtasm_execmem.c
> +++ b/src/gallium/auxiliary/rtasm/rtasm_execmem.c
> @@ -49,7 +49,7 @@
>   #include <windows.h>
>   #endif
>
> -#if defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) || defined(PIPE_OS_SOLARIS) || defined(PIPE_OS_HAIKU) || defined(PIPE_OS_CYGWIN)
> +#if defined(PIPE_OS_UNIX)
>
>
>   /*
>

Looks OK to me.

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list