mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
st/vega: Fix breakage from -fvisibility=hidden.
Mark VG and VGU functions as public. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
This commit is contained in:
parent
015a5a126b
commit
5ec99c04a9
1 changed files with 5 additions and 0 deletions
|
|
@ -38,6 +38,11 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303
|
||||
# define VG_API_CALL __attribute__((visibility("default")))
|
||||
# define VGU_API_CALL __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
#ifndef VG_API_CALL
|
||||
#if defined(OPENVG_STATIC_LIBRARY)
|
||||
# define VG_API_CALL
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue