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";