rockbox/rbutil/rbutilqt/logger/CuteLogger_global.h
Dominik Riebeling 2b054e6135 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
2013-11-04 23:32:57 +01:00

16 lines
335 B
C

#ifndef CUTELOGGER_GLOBAL_H
#define CUTELOGGER_GLOBAL_H
#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