From 5ec99c04a99fc67ae460d0cccbe1cbf5c2aaab1b Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 11 Jan 2010 00:03:21 +0800 Subject: [PATCH] st/vega: Fix breakage from -fvisibility=hidden. Mark VG and VGU functions as public. Signed-off-by: Chia-I Wu --- include/VG/vgplatform.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/VG/vgplatform.h b/include/VG/vgplatform.h index e4f269f6582..2c626a971e1 100644 --- a/include/VG/vgplatform.h +++ b/include/VG/vgplatform.h @@ -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 -- 2.30.2