From 6b7a9a6fd66b3bd72dcf48f93611a4fd47fc1253 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 12 Sep 2011 15:27:09 +0300 Subject: Drop Win9x code --- crashrep/source/win32/soreport.cpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'crashrep/source') diff --git a/crashrep/source/win32/soreport.cpp b/crashrep/source/win32/soreport.cpp index e37913e90bf9..af5f725e9adf 100644 --- a/crashrep/source/win32/soreport.cpp +++ b/crashrep/source/win32/soreport.cpp @@ -131,21 +131,7 @@ bool g_bLoadReport = false; static FILE *_xfopen( const _TCHAR *file, const _TCHAR *mode ) { -#ifdef UNICODE - 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 ); + return _tfopen( file, mode ); } -- cgit