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:
@@ -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));
|
||||
|
Reference in New Issue
Block a user