From f5f915cbe03375ef3cefc2286f2833949087b2fb Mon Sep 17 00:00:00 2001 From: Curious One Date: Wed, 4 May 2016 21:35:35 +1000 Subject: [PATCH] Again, made compilable with msvc by adding compiler directive where necessary... --HG-- branch : develop --- src/libs/qmuparser/qmudef.h | 3 +++ src/test/ValentinaTest/tst_vcommandline.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/libs/qmuparser/qmudef.h b/src/libs/qmuparser/qmudef.h index 6516326e0..ef5dafb5e 100644 --- a/src/libs/qmuparser/qmudef.h +++ b/src/libs/qmuparser/qmudef.h @@ -31,6 +31,9 @@ #pragma GCC diagnostic ignored "-Wattributes" #endif +#ifdef Q_CC_MSVC + #include +#endif /* Q_CC_MSVC */ //--------------------------------------------------------------------------------------------------------------------- inline QString NameRegExp() { diff --git a/src/test/ValentinaTest/tst_vcommandline.cpp b/src/test/ValentinaTest/tst_vcommandline.cpp index 627462849..f429ba9ee 100644 --- a/src/test/ValentinaTest/tst_vcommandline.cpp +++ b/src/test/ValentinaTest/tst_vcommandline.cpp @@ -32,6 +32,9 @@ #include +#ifdef Q_CC_MSVC + #include +#endif /* Q_CC_MSVC */ //--------------------------------------------------------------------------------------------------------------------- TST_VCommandLine::TST_VCommandLine(QObject *parent) :QObject(parent)