glapi: keep declspec(thread) msvc-specific
authorMichel Zou <xantares09@hotmail.com>
Wed, 24 Feb 2021 05:05:18 +0000 (06:05 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Wed, 24 Feb 2021 13:47:30 +0000 (13:47 +0000)
commitdfb1c986dd06ae2db72e2010385896bb61cf972b
treea1de0b20fc174fef82a6b4ccd9e8c25cbe6f6f88
parentdd055f6017ceb576e9b4cac23eb1d507adf49b99
glapi: keep declspec(thread) msvc-specific

gcc ignores with a warning:
glapi.h:83:1: warning: ‘thread’ attribute directive ignored [-Wattributes]

Fixes: ba141b95

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9245>
src/mapi/glapi/glapi.h
src/mapi/u_current.c