From 2b1c240707ed4c7b071a79a84bbcd454a12a5c85 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Thu, 7 Jun 2012 09:57:41 +0200 Subject: in the absence of QXMPP_STATIC, use shared library import Since building a shared library is the default, handle the absence of QXMPP_STATIC as meaning QXMPP_SHARED. --- src/base/QXmppGlobal.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/base') 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 -#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 = -- cgit v1.2.3