summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2016-01-12 22:59:37 +0100
committerDavid Faure <faure@kde.org>2016-01-12 22:59:37 +0100
commitd0a2fda6059abda610afe6a8d29b8f5a1c6ae4ae (patch)
tree630e43770c635f7c416e9ece9acb39f2f37ceec4
parent51aadb19fbb70011a62a289654f2d52caa0f6acc (diff)
downloadlibkolab-d0a2fda6059abda610afe6a8d29b8f5a1c6ae4ae.tar.gz
Fix multiple-definition-warning due to redefining Q_DECL_IMPORT.
-rw-r--r--kolab_export.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kolab_export.h b/kolab_export.h
index d001b64..5ca06f0 100644
--- a/kolab_export.h
+++ b/kolab_export.h
@@ -25,6 +25,7 @@
//Workaround for qt not defining Q_DECL_IMPORT as it should
#if defined(Q_OS_LINUX)
+# undef Q_DECL_IMPORT
# define Q_DECL_IMPORT __attribute__((visibility("default")))
#endif