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

Roland Scheidegger sroland at vmware.com
Tue Jun 9 08:13:42 PDT 2015


Am 09.06.2015 um 15:48 schrieb Jose Fonseca:
> 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://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.freedesktop.org_show-5Fbug.cgi-3Fid-3D90904&d=BQIBAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=Vjtt0vs_iqoI31UfJxBl7yv9I2FeiaeAYgMTLKRBc_I&m=0r8AOimc9y5nQSlZ7j-o4dbQdzaJy5Rvk1wL1tOtBFU&s=smdXFlVAMO50E_DjJoyp1GR5Qs26sQMObjZzi0r_WR4&e= 
> ---
>  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)
>  
>  
>  /*
> 

Reviewed-by: Roland Scheidegger <sroland at vmware.com>


More information about the mesa-dev mailing list