From: Chia-I Wu Date: Sun, 10 Jan 2010 16:03:21 +0000 (+0800) Subject: st/vega: Fix breakage from -fvisibility=hidden. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ec99c04a99fc67ae460d0cccbe1cbf5c2aaab1b;p=mesa.git st/vega: Fix breakage from -fvisibility=hidden. Mark VG and VGU functions as public. Signed-off-by: Chia-I Wu --- 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