From e27b54664ef41c190f1174379da29dd931c6797d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 10 Apr 2019 19:15:56 +0200 Subject: [PATCH] appveyor: /constexpr/const/ --- lib/importproject.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/importproject.cpp b/lib/importproject.cpp index 3ffa0054c..1c0e9b5b2 100644 --- a/lib/importproject.cpp +++ b/lib/importproject.cpp @@ -927,6 +927,10 @@ static std::string join(const std::list &strlist, const char *sep) return ret; } +#ifdef _MSC_VER +#define constexpr const // TODO what handling of constexpr is there is MSC +#endif + // These constants are copy/pasted from gui/projectfile.cpp static constexpr char ProjectElementName[] = "project"; static constexpr char ProjectVersionAttrib[] = "version";