summaryrefslogtreecommitdiff
path: root/include/VG/vgplatform.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-12 11:25:02 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-12 11:25:02 +0800
commit562c127693200822f04a145db50add1be2425d7b (patch)
tree9441774fb212b17ddf2a364f06abc43f166cc00b /include/VG/vgplatform.h
parente5d351dcfde58777162552cf5cd2a9cd8299f4cd (diff)
parent077d6dd7508af88509dd0499c5dfbdaa186b4015 (diff)
Merge branch 'master' into opengl-es-v2
Conflicts: src/mesa/main/dd.h
Diffstat (limited to 'include/VG/vgplatform.h')
-rw-r--r--include/VG/vgplatform.h5
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