Commit 50e5307c authored by Ivan.Shulga's avatar Ivan.Shulga Committed by Alexander Trofimov

win build

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58621 954022d7-b5bf-4e40-9824-e11837661b57
parent 0f3ee553
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment