aboutsummaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/base')
-rw-r--r--src/base/QXmppGlobal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/QXmppGlobal.h b/src/base/QXmppGlobal.h
index 0e9afb3a..fa44cfbd 100644
--- a/src/base/QXmppGlobal.h
+++ b/src/base/QXmppGlobal.h
@@ -27,14 +27,14 @@
#include <QString>
-#if defined(QXMPP_SHARED)
+#if defined(QXMPP_STATIC)
+# define QXMPP_EXPORT
+#else
# if defined(QXMPP_BUILD)
# define QXMPP_EXPORT Q_DECL_EXPORT
# else
# define QXMPP_EXPORT Q_DECL_IMPORT
# endif
-#else
-# define QXMPP_EXPORT
#endif
/// This macro expands a numeric value of the form 0xMMNNPP (MM =