win build

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58621 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
Ivan.Shulga
2014-10-02 10:24:27 +00:00
committed by Alexander Trofimov
parent 0f3ee55329
commit 50e5307c7b

View File

@ -95,12 +95,13 @@ namespace MathEquation
static String CreateFromInt32(int nValue)
{
//char intStr[32];
//_itoa_s(nValue, (char *)&intStr, 32, 10);
return std::to_string(nValue);;
//return String(intStr);
#ifdef _WIN32
char intStr[32];
_itoa_s(nValue, (char *)&intStr, 32, 10);
return String(intStr);
#else
return std::to_string(nValue);;
#endif
}
std::string GetValue()