applied Unicode fixes for mingw32 (patch 429654)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-06-03 02:58:56 +00:00
parent 2ec6905c69
commit 161f4f7380
13 changed files with 163 additions and 147 deletions

View File

@@ -78,6 +78,7 @@
#endif // native Win compiler
#ifdef __GNUWIN32__
#include <wchar.h>
#ifndef __TWIN32__
#include <sys/unistd.h>
#endif
@@ -1113,7 +1114,10 @@ wxRenameFile (const wxString& file1, const wxString& file2)
bool wxRemoveFile(const wxString& file)
{
#if defined(__VISUALC__) || defined(__BORLANDC__) || defined(__WATCOMC__)
#if defined(__VISUALC__) \
|| defined(__BORLANDC__) \
|| defined(__WATCOMC__) \
|| defined(__GNUWIN32__)
int res = wxRemove(file);
#else
int res = unlink(OS_FILENAME(file));