diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-11-03 11:22:44 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-11-04 23:32:57 +0100 |
commit | 2b054e6135cbce030a642157dc1345f9dd42950b (patch) | |
tree | bd0fd7b7c9ba0b31e45963c9bca5b7e60767b3bb /rbutil/rbutilqt/logger/CuteLogger_global.h | |
parent | 4d2ce949b3b41f8bf0af446fa20205ddd229e579 (diff) | |
download | rockbox-2b054e6135cbce030a642157dc1345f9dd42950b.tar.gz 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/CuteLogger_global.h')
-rw-r--r-- | rbutil/rbutilqt/logger/CuteLogger_global.h | 4 |
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 @@ | |||
3 | 3 | ||
4 | #include <QtCore/qglobal.h> | 4 | #include <QtCore/qglobal.h> |
5 | 5 | ||
6 | #if !defined(CUTELOGGER_STATIC) | ||
6 | #if defined(CUTELOGGER_LIBRARY) | 7 | #if defined(CUTELOGGER_LIBRARY) |
7 | # define CUTELOGGERSHARED_EXPORT Q_DECL_EXPORT | 8 | # define CUTELOGGERSHARED_EXPORT Q_DECL_EXPORT |
8 | #else | 9 | #else |
9 | # define CUTELOGGERSHARED_EXPORT Q_DECL_IMPORT | 10 | # define CUTELOGGERSHARED_EXPORT Q_DECL_IMPORT |
10 | #endif | 11 | #endif |
12 | #else | ||
13 | #define CUTELOGGERSHARED_EXPORT | ||
14 | #endif | ||
11 | 15 | ||
12 | #endif // CUTELOGGER_GLOBAL_H | 16 | #endif // CUTELOGGER_GLOBAL_H |