wxMkdir/Rmdir clash fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -81,16 +81,16 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
|
||||
#define wxOpen _wopen
|
||||
#define wxAccess _waccess
|
||||
|
||||
#define wxMkdir _wmkdir
|
||||
#define wxRmdir _wrmdir
|
||||
#define wxMkDir _wmkdir
|
||||
#define wxRmDir _wrmdir
|
||||
|
||||
#define wxStat _wstat
|
||||
#else // !wxUSE_UNICODE
|
||||
#define wxOpen _open
|
||||
#define wxAccess _access
|
||||
|
||||
#define wxMkdir _mkdir
|
||||
#define wxRmdir _rmdir
|
||||
#define wxMkDir _mkdir
|
||||
#define wxRmDir _rmdir
|
||||
|
||||
#define wxStat _stat
|
||||
#endif
|
||||
|
@@ -1083,7 +1083,7 @@ bool wxMkdir(const wxString& dir, int perm)
|
||||
#elif defined(__WXPM__)
|
||||
if (::DosCreateDir((PSZ)dir, NULL)) != 0) // enhance for EAB's??
|
||||
#else // !MSW and !OS/2 VAC++
|
||||
if ( wxMkdir(wxFNSTRINGCAST wxFNCONV(dirname)) != 0 )
|
||||
if ( wxMkDir(wxFNSTRINGCAST wxFNCONV(dirname)) != 0 )
|
||||
#endif // !MSW/MSW
|
||||
{
|
||||
wxLogSysError(_("Directory '%s' couldn't be created"), dirname);
|
||||
@@ -1108,7 +1108,7 @@ bool wxRmdir(const wxString& dir, int WXUNUSED(flags))
|
||||
#ifdef __SALFORDC__
|
||||
return FALSE; // What to do?
|
||||
#else
|
||||
return (wxRmdir(wxFNSTRINGCAST dir.fn_str()) == 0);
|
||||
return (wxRmDir(wxFNSTRINGCAST dir.fn_str()) == 0);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user