appveyor: /constexpr/const/

This commit is contained in:
Daniel Marjamäki 2019-04-10 19:15:56 +02:00
parent c47de235f7
commit e27b54664e
1 changed files with 4 additions and 0 deletions

View File

@ -927,6 +927,10 @@ static std::string join(const std::list<std::string> &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";