Refactored preprocessor instructions to separate source file

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6855 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2017-05-03 12:08:09 +00:00
parent 7ecff5e1c0
commit 17d5e5003f
14 changed files with 1451 additions and 1415 deletions

View file

@ -47,10 +47,12 @@ static const struct { const TCHAR *name, *guidstr; } g_soslmap[] = {
{ _T("Win10"), _T("{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}") } //blogs.msdn.com/b/chuckw/archive/2013/09/10/manifest-madness.aspx
};
void SupportedOSList::addall()
bool SupportedOSList::addall()
{
for (UINT i = 0; i < COUNTOF(g_soslmap); ++i)
append(g_soslmap[i].name);
if (!append(g_soslmap[i].name))
return false;
return true;
}
bool SupportedOSList::append(const TCHAR* osid)