1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 23:57:34 +02:00

Update account DLL macro to use Q_DECL_X

This commit is contained in:
Jeff Mitchell
2012-05-13 16:36:57 -04:00
parent d47adbea63
commit 485d076d73

View File

@@ -20,14 +20,14 @@
#ifndef ACCOUNTDLLMACRO_H #ifndef ACCOUNTDLLMACRO_H
#define ACCOUNTDLLMACRO_H #define ACCOUNTDLLMACRO_H
#ifdef Q_WS_WIN #include <QtCore/qglobal.h>
#ifdef ACCOUNTDLLEXPORT_PRO
#define ACCOUNTDLLEXPORT __declspec(dllexport) #ifndef ACCOUNTDLLEXPORT
#else # if defined (ACCOUNTDLLEXPORT_PRO)
#define ACCOUNTDLLEXPORT __declspec(dllimport) # define ACCOUNTDLLEXPORT Q_DECL_EXPORT
#endif # else
#else # define ACCOUNTDLLEXPORT Q_DECL_IMPORT
#define ACCOUNTDLLEXPORT # endif
#endif #endif
#endif #endif