[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/taglib
From: Lukáš Lalinský <lalinsky () gmail ! com>
Date: 2009-10-24 11:07:41
Message-ID: 1256382461.674982.27170.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1039693 by lalinsky:
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
M +2 -0 bindings/c/tag_c.h
M +2 -0 taglib/taglib_export.h
--- trunk/kdesupport/taglib/bindings/c/tag_c.h #1039692:1039693
@@ -35,6 +35,8 @@
#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
--- trunk/kdesupport/taglib/taglib/taglib_export.h #1039692:1039693
@@ -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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic