diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-24 09:07:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-24 15:47:22 +0200 |
commit | 6d2cc8cf667c4e166c754698faac770a99aceeee (patch) | |
tree | df75267ab10d2520fef09a22aeb9a4101e73b2c3 /csv/csv.h | |
parent | d1ba0d9c0a20490afcd9b5cad5ba5fb2ff53fb93 (diff) |
csv, proto/ft: workaround link bug on win32 with no lto
Need link dynamic, otherwise symbol lookup failure.
Diffstat (limited to 'csv/csv.h')
-rw-r--r-- | csv/csv.h | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -7,20 +7,16 @@ #include <QRegExp> #include <QtGlobal> -#ifdef BUILD_csv -# define CSV_EXPORT Q_DECL_EXPORT -#else -# define CSV_EXPORT Q_DECL_IMPORT -#endif +#include "export.hpp" -class CSV_EXPORT CSV +class OPENTRACK_CSV_EXPORT CSV { public: QString readLine(); bool parseLine(QStringList& ret); void setCodec(const char* codecName); - static bool getGameData(const int gameID, unsigned char* table, QString& gamename); + static bool getGameData(int gameID, unsigned char* table, QString& gamename); private: CSV(QIODevice* device); |