From ca7500b9058f6226268f9af2b0999ff13678c958 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 7 May 2016 11:44:37 +0300 Subject: [PATCH] Again, made compilable with msvc by adding compiler directive where necessary... (grafted from f95b88cfebba683b9978b4f1a976d75e4d9a3a2e) --HG-- branch : release --- 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 39addb376..893ca3629 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)