- Katayama Hirofumi: Remove temporary tchar.h inclusion and usage of _tcslen (replaced with lstrlen).

See issue #5360 for more details.

svn path=/trunk/; revision=47105
This commit is contained in:
Aleksey Bragin 2010-05-05 19:00:13 +00:00
parent 4b382e5846
commit 751c365e6e

View file

@ -21,13 +21,6 @@
#include <winsock2.h> /* winsock2.h first */
#include <precomp.h>
//FIXME: remove eventually
#ifndef _UNICODE
#define _UNICODE
#endif
#include <tchar.h>
extern char g_username[];
extern char g_hostname[];
extern char g_servername[];
@ -89,7 +82,7 @@ uni_to_str(char * sizex, TCHAR * size1)
int len;
int i;
len = _tcslen(size1);
len = lstrlen(size1);
for (i = 0; i < len; i++)
{
sizex[i] = (char)size1[i];