Don't use _itot, only VC supports _itow?

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6501 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2014-06-22 12:07:35 +00:00
parent 15fb0bd987
commit 0c0d2d3f2f
2 changed files with 2 additions and 2 deletions

View file

@ -3154,7 +3154,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
extern NStreamEncoding g_outputenc;
TCHAR buf[33];
compile=_T("\""), compile+=get_executable_path(g_argv0), compile+= _T("\"");
compile+= _T(" ") OPT_STR _T("v"), compile+=_itot(get_verbosity(),buf,10);
compile+= _T(" ") OPT_STR _T("v"), wsprintf(buf,_T("%d"),get_verbosity()), compile+=buf;
compile+= _T(" ") OPT_STR _T("OCS "), g_outputenc.GetCPDisplayName(buf), compile+=buf;
if (*exec) compile+= _T(" "), compile+=exec;
exec=compile.c_str();

View file

@ -108,7 +108,7 @@ typedef wchar_t TCHAR, _TUCHAR;
#define _ttol _wtol
// conversion from numbers to strings
#define _itot _itow
//Only VC has this? #define _itot _itow
#define _ltot _ltow
#define _i64tot _i64tow
#define _ui64tot _ui64tow