[Sphere-axis-commits] CVS: axissvr ServerConfiguration.cpp,1.4,1.5
Brought to you by:
pesterle
From: Philip E. <pes...@us...> - 2003-08-05 04:55:15
|
Update of /cvsroot/sphere-axis/axissvr In directory sc8-pr-cvs1:/tmp/cvs-serv25659 Modified Files: ServerConfiguration.cpp Log Message: Added linux equivalent of MultiByteToWideChar function call. Index: ServerConfiguration.cpp =================================================================== RCS file: /cvsroot/sphere-axis/axissvr/ServerConfiguration.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** ServerConfiguration.cpp 4 Aug 2003 23:20:54 -0000 1.4 --- ServerConfiguration.cpp 5 Aug 2003 04:55:12 -0000 1.5 *************** *** 481,485 **** MultiByteToWideChar(CP_UTF8, 0, (const char*) s, iLen, pwString, iLen); #else ! // Need to build a portable version of this function #endif TCHAR * szOut = new TCHAR [iLen + 1]; --- 481,485 ---- MultiByteToWideChar(CP_UTF8, 0, (const char*) s, iLen, pwString, iLen); #else ! mbstowcs(pwString, (const char *) s, iLen); #endif TCHAR * szOut = new TCHAR [iLen + 1]; |