1
0
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:
Jeff Mitchell 2012-05-13 16:36:57 -04:00
parent d47adbea63
commit 485d076d73

View File

@ -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