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:
kichik 2004-08-18 16:14:44 +00:00
parent b58a609b69
commit 1855c9f7a5
3 changed files with 9 additions and 2 deletions

View file

@ -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
}