[Mesa-dev] [PATCH] c99_alloca.h: add case for __sun

Alan Coopersmith alan.coopersmith at oracle.com
Tue Mar 3 07:35:31 PST 2015


On 03/ 3/15 07:10 AM, Brian Paul wrote:
> ---
>   include/c99_alloca.h | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/include/c99_alloca.h b/include/c99_alloca.h
> index 575f719..ed66fda 100644
> --- a/include/c99_alloca.h
> +++ b/include/c99_alloca.h
> @@ -35,6 +35,10 @@
>
>   #  define alloca _alloca
>
> +#elif defined(__sun)
> +
> +#  include <alloca.h>
> +
>   #else /* !defined(_MSC_VER) */
>
>   #  include <stdlib.h>
>

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the mesa-dev mailing list