This does nothing with the current configuration, but it's useful if you compile the library with -fvisibility=hidden
Patch by Modestas Vainius
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@
1039693 283d02a7-25f6-0310-bc7c-
ecb5cbfe19da
#else
#define TAGLIB_C_EXPORT __declspec(dllimport)
#endif
+#elif defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 1)
+#define TAGLIB_C_EXPORT __attribute__ ((visibility("default")))
#else
#define TAGLIB_C_EXPORT
#endif
#else
#define TAGLIB_EXPORT __declspec(dllimport)
#endif
+#elif defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 1)
+#define TAGLIB_EXPORT __attribute__ ((visibility("default")))
#else
#define TAGLIB_EXPORT
#endif