mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Set visibility("default") for GCC on exported symbols
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
This commit is contained in:
parent
ea9dbfd7ae
commit
03c63a11a5
@ -35,6 +35,8 @@ extern "C" {
|
||||
#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
|
||||
|
@ -32,6 +32,8 @@
|
||||
#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
|
||||
|
Loading…
x
Reference in New Issue
Block a user