X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56fc3fa5b3be585a27af0ac3263350e16c992e41..d351525a9b21807a04810c96d24c657a857be830:/src/common/filefn.cpp diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 329a52695c..c9daf16772 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1303,6 +1303,7 @@ bool wxRemoveFile(const wxString& file) #if defined(__VISUALC__) \ || defined(__BORLANDC__) \ || defined(__WATCOMC__) \ + || defined(__DMC__) \ || defined(__GNUWIN32__) int res = wxRemove(file); #elif defined(__WXMAC__) @@ -1396,7 +1397,7 @@ bool wxPathExists(const wxChar *pszPathName) #ifdef __OS2__ // OS/2 can't handle "d:", it wants either "d:\" or "d:." - if (strPath.length() == 2 && strPath[1] == _T(':')) + if (strPath.length() == 2 && strPath[1u] == _T(':')) strPath << _T('.'); #endif