Kaydet (Commit) 6b7a9a6f authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Drop Win9x code

üst 856b8451
...@@ -131,21 +131,7 @@ bool g_bLoadReport = false; ...@@ -131,21 +131,7 @@ bool g_bLoadReport = false;
static FILE *_xfopen( const _TCHAR *file, const _TCHAR *mode ) static FILE *_xfopen( const _TCHAR *file, const _TCHAR *mode )
{ {
#ifdef UNICODE return _tfopen( file, mode );
if ( (LONG)GetVersion() < 0 )
{
char afile[MAX_PATH];
char amode[16];
WideCharToMultiByte( CP_ACP, 0, file, -1, afile, MAX_PATH, NULL, NULL );
WideCharToMultiByte( CP_ACP, 0, mode, -1, amode, 16, NULL, NULL );
return fopen( afile, amode );
}
else
#endif
return _tfopen( file, mode );
} }
......
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