diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2010-01-11 00:03:21 +0800 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-01-11 10:04:28 -0500 |
commit | 5ec99c04a99fc67ae460d0cccbe1cbf5c2aaab1b (patch) | |
tree | 94a7b0de318db24edb3939b74e34cc2395dc943f /include | |
parent | 015a5a126b9d4a0f0fbfc0e522bb63fa5381985e (diff) |
st/vega: Fix breakage from -fvisibility=hidden.
Mark VG and VGU functions as public.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/VG/vgplatform.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/VG/vgplatform.h b/include/VG/vgplatform.h index e4f269f658..2c626a971e 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
|