summaryrefslogtreecommitdiffstats
path: root/networkstatus/networkstatus.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-04 18:38:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-04 18:38:22 +0000
commite033beead21105928b4039eb5551d0633078cdf5 (patch)
treece1a05637d7b89f7e496ee43788d0f55542a97ef /networkstatus/networkstatus.cpp
parentaf20635a2bb11eefabb627a2419644d3ac78831d (diff)
downloadtdelibs-e033beead21105928b4039eb5551d0633078cdf5.tar.gz
tdelibs-e033beead21105928b4039eb5551d0633078cdf5.zip
Fix FTBFS due to migration from pim to libs
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1171633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'networkstatus/networkstatus.cpp')
-rw-r--r--networkstatus/networkstatus.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/networkstatus/networkstatus.cpp b/networkstatus/networkstatus.cpp
index 092f2b392..21e34d978 100644
--- a/networkstatus/networkstatus.cpp
+++ b/networkstatus/networkstatus.cpp
@@ -32,7 +32,19 @@
#include "clientifaceimpl.h"
#include "serviceifaceimpl.h"
#include "network.h"
-#include <kdepimmacros.h>
+
+#include <kdeversion.h>
+#include <kdemacros.h>
+
+#if KDE_IS_VERSION( 3,3,90 )
+/* life is great */
+#else
+/* workaround typo that breaks compilation with newer gcc */
+#undef KDE_EXPORT
+#define KDE_EXPORT
+#undef KDE_NO_EXPORT
+#define KDE_NO_EXPORT
+#endif
extern "C" {
KDE_EXPORT KDEDModule* create_networkstatus( const TQCString& obj )