mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 15:47:38 +02:00
Update account DLL macro to use Q_DECL_X
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user