mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
Update account DLL macro to use Q_DECL_X
This commit is contained in:
@@ -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
|
||||||
|
# if defined (ACCOUNTDLLEXPORT_PRO)
|
||||||
|
# define ACCOUNTDLLEXPORT Q_DECL_EXPORT
|
||||||
# else
|
# else
|
||||||
#define ACCOUNTDLLEXPORT __declspec(dllimport)
|
# define ACCOUNTDLLEXPORT Q_DECL_IMPORT
|
||||||
# endif
|
# endif
|
||||||
#else
|
|
||||||
#define ACCOUNTDLLEXPORT
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user