summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/logger
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2013-11-03 11:22:44 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2013-11-04 23:32:57 +0100
commit2b054e6135cbce030a642157dc1345f9dd42950b (patch)
treebd0fd7b7c9ba0b31e45963c9bca5b7e60767b3bb /rbutil/rbutilqt/logger
parent4d2ce949b3b41f8bf0af446fa20205ddd229e579 (diff)
downloadrockbox-2b054e6135cbce030a642157dc1345f9dd42950b.tar.gz
rockbox-2b054e6135cbce030a642157dc1345f9dd42950b.tar.bz2
rockbox-2b054e6135cbce030a642157dc1345f9dd42950b.zip
Fix cutelogger with MSVC.
We're compiling cutelogger directly, not as DLL. Therefore we must not add __declspec attributes to the header. Change-Id: I41b87fd4ba34dfbcd0d37245ff1c1f279139bb33
Diffstat (limited to 'rbutil/rbutilqt/logger')
-rw-r--r--rbutil/rbutilqt/logger/CuteLogger_global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/logger/CuteLogger_global.h b/rbutil/rbutilqt/logger/CuteLogger_global.h
index 43e74affdb..c5e7680845 100644
--- a/rbutil/rbutilqt/logger/CuteLogger_global.h
+++ b/rbutil/rbutilqt/logger/CuteLogger_global.h
@@ -3,10 +3,14 @@
#include <QtCore/qglobal.h>
+#if !defined(CUTELOGGER_STATIC)
#if defined(CUTELOGGER_LIBRARY)
# define CUTELOGGERSHARED_EXPORT Q_DECL_EXPORT
#else
# define CUTELOGGERSHARED_EXPORT Q_DECL_IMPORT
#endif
+#else
+#define CUTELOGGERSHARED_EXPORT
+#endif
#endif // CUTELOGGER_GLOBAL_H