scons DEBUG=true adds DEBUG to CPPDEFINES
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6497 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
5837f4397b
commit
a81d5dfb49
4 changed files with 14 additions and 4 deletions
|
@ -303,8 +303,10 @@ static inline int makensismain(int argc, TCHAR **argv)
|
|||
#ifdef _WIN32
|
||||
signed char outputbom=1;
|
||||
|
||||
#ifdef DEBUG
|
||||
assert(CP_ACP == outputenc.GetCodepage()); // Required by CEXEBuild::notify() char* legacy handling.
|
||||
#endif
|
||||
#endif //~ _WIN32
|
||||
|
||||
// Some parameters have to be parsed early so we can initialize stdout and the "host API".
|
||||
while (++argpos < argc && !initialparsefail)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue