bug report #1005303 - NSIS build warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3630 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b58a609b69
commit
1855c9f7a5
3 changed files with 9 additions and 2 deletions
|
@ -160,9 +160,9 @@ void CEXEBuild::set_date_time_predefines()
|
|||
GetTimeFormat(LOCALE_USER_DEFAULT, 0, &stime, NULL, timebuf, sizeof(timebuf));
|
||||
definedlist.add("__TIME__",(char *)timebuf);
|
||||
#else
|
||||
strftime(datebuf, sizeof(datebuf), "%x", ltime);
|
||||
my_strftime(datebuf, sizeof(datebuf), "%x", ltime);
|
||||
definedlist.add("__DATE__",(char *)datebuf);
|
||||
strftime(timebuf, sizeof(timebuf), "%X", ltime);
|
||||
my_strftime(timebuf, sizeof(timebuf), "%X", ltime);
|
||||
definedlist.add("__TIME__",(char *)timebuf);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue