NSIS_PACKEDVERSION no longer optional. Tries to find a usable fallback value if not specified.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7058 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2018-12-06 01:12:30 +00:00
parent 7962b3ccac
commit 649159cd28
2 changed files with 22 additions and 16 deletions

View file

@ -126,9 +126,7 @@ CEXEBuild::CEXEBuild(signed char pponly, bool warnaserror) :
ns_label.add(_T(""),0);
definedlist.add(_T("NSIS_VERSION"), NSIS_VERSION);
#ifdef NSIS_PACKEDVERSION
definedlist.add(_T("NSIS_PACKEDVERSION"), NSIS_PACKEDVERSION);
#endif
m_target_type=TARGET_X86ANSI;
#ifdef _WIN32