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:

committed by
Kristian Høgsberg

parent
015a5a126b
commit
5ec99c04a9
@@ -38,6 +38,11 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#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
|
#ifndef VG_API_CALL
|
||||||
#if defined(OPENVG_STATIC_LIBRARY)
|
#if defined(OPENVG_STATIC_LIBRARY)
|
||||||
# define VG_API_CALL
|
# define VG_API_CALL
|
||||||
|
Reference in New Issue
Block a user