From 3c1f6ae5c21ad8d81ad99bbf7d943cc81d554ab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 10 Apr 2019 21:27:07 +0200 Subject: [PATCH] appveyor: /constexpr/const/ --- gui/projectfile.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gui/projectfile.cpp b/gui/projectfile.cpp index 84fa81a01..f276e00a0 100644 --- a/gui/projectfile.cpp +++ b/gui/projectfile.cpp @@ -25,6 +25,10 @@ #include "projectfile.h" #include "common.h" +#ifdef _MSC_VER +#define constexpr const // TODO what handling of constexpr is there is MSC +#endif + static constexpr char ProjectElementName[] = "project"; static constexpr char ProjectVersionAttrib[] = "version"; static constexpr char ProjectFileVersion[] = "1";