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

Emil Velikov emil.l.velikov at gmail.com
Thu Nov 12 15:52:22 PST 2015


On 12 November 2015 at 22:59, Brian Paul <brianp at vmware.com> wrote:
> ---
>  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[];
>
Now I know why mesa rarely declares variables in such a way :-P

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

-Emil


More information about the mesa-dev mailing list