mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
util: use dllexport for mingw too
Acked-by: Jose Fonseca <jfonsec@vmware.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7341>
This commit is contained in:
parent
e030ab5163
commit
0e7d45c89a
1 changed files with 4 additions and 4 deletions
|
|
@ -219,12 +219,12 @@ do { \
|
|||
* inline a static function that we later use in an alias. - ajax
|
||||
*/
|
||||
#ifndef PUBLIC
|
||||
# if defined(__GNUC__)
|
||||
# define PUBLIC __attribute__((visibility("default")))
|
||||
# define USED __attribute__((used))
|
||||
# elif defined(_MSC_VER)
|
||||
# if defined(_WIN32)
|
||||
# define PUBLIC __declspec(dllexport)
|
||||
# define USED
|
||||
# elif defined(__GNUC__)
|
||||
# define PUBLIC __attribute__((visibility("default")))
|
||||
# define USED __attribute__((used))
|
||||
# else
|
||||
# define PUBLIC
|
||||
# define USED
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue