diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-09-12 15:27:09 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-09-12 15:30:46 +0300 |
commit | 6b7a9a6fd66b3bd72dcf48f93611a4fd47fc1253 (patch) | |
tree | 4f900d2bb5fb8160d7fae3f395b85e5b03899127 /crashrep | |
parent | 856b8451f8c94ea118b8ca422bb2bfa9e40fe6a9 (diff) |
Drop Win9x code
Diffstat (limited to 'crashrep')
-rw-r--r-- | crashrep/source/win32/soreport.cpp | 16 |
1 files changed, 1 insertions, 15 deletions
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 ); } |