mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-24 01:39:42 +01:00
Update account DLL macro to use Q_DECL_X
This commit is contained in:
parent
d47adbea63
commit
485d076d73
@ -20,14 +20,14 @@
|
||||
#ifndef ACCOUNTDLLMACRO_H
|
||||
#define ACCOUNTDLLMACRO_H
|
||||
|
||||
#ifdef Q_WS_WIN
|
||||
#ifdef ACCOUNTDLLEXPORT_PRO
|
||||
#define ACCOUNTDLLEXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define ACCOUNTDLLEXPORT __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#define ACCOUNTDLLEXPORT
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#ifndef ACCOUNTDLLEXPORT
|
||||
# if defined (ACCOUNTDLLEXPORT_PRO)
|
||||
# define ACCOUNTDLLEXPORT Q_DECL_EXPORT
|
||||
# else
|
||||
# define ACCOUNTDLLEXPORT Q_DECL_IMPORT
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user