Fixes build issue if VERSION has not been defined
This commit is contained in:
parent
3cf6c2ca7b
commit
6ce43f90b9
|
@ -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("-");
|
||||
|
|
Loading…
Reference in New Issue