[Mesa-dev] [PATCH] mesa: fix MSVC build break in extensions.h

Roland Scheidegger sroland at vmware.com
Thu Nov 12 16:06:43 PST 2015


Am 12.11.2015 um 23:59 schrieb Brian Paul:
> ---
>  src/mesa/main/extensions.h | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/src/mesa/main/extensions.h b/src/mesa/main/extensions.h
> index e4671be..1615e1c 100644
> --- a/src/mesa/main/extensions.h
> +++ b/src/mesa/main/extensions.h
> @@ -75,7 +75,9 @@ struct mesa_extension {
>     /** Year the extension was proposed or approved.  Used to sort the 
>      * extension string chronologically. */
>     uint16_t year;
> -} extern const _mesa_extension_table[];
> +};
> +
> +extern const struct mesa_extension _mesa_extension_table[];
>  
>  
>  /* Generate enums for the functions below */
> 

Ahh that was it, I guess that's the simplest possible fix :-).

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


More information about the mesa-dev mailing list