Fixes build issue if VERSION has not been defined

This commit is contained in:
EoD 2016-07-30 23:55:57 +02:00
parent 3cf6c2ca7b
commit 6ce43f90b9
1 changed files with 3 additions and 0 deletions

View File

@ -2416,6 +2416,9 @@ EVT_HANDLER(wxID_ABOUT, "About...")
ai.SetName(wxT("VisualBoyAdvance-M"));
wxString version = wxT("");
#ifndef FINAL_BUILD
#ifndef VERSION
# define VERSION "git"
#endif
if (!version.IsEmpty())
version = version + wxT("-");