Merge branch 'instanced-arrays'
[mesa.git] / include / VG / vgplatform.h
index e4f269f6582e8b5c40bf5e8d5be5c4ade04ffaf9..2c626a971e1727b3f0b3a6bf854932a288a24a40 100644 (file)
 extern "C" {\r
 #endif\r
 \r
+#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303\r
+#  define VG_API_CALL __attribute__((visibility("default")))\r
+#  define VGU_API_CALL __attribute__((visibility("default")))\r
+#endif\r
+\r
 #ifndef VG_API_CALL \r
 #if defined(OPENVG_STATIC_LIBRARY)\r
 #      define VG_API_CALL\r