X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16c15822fe7ed425030315c1257595dc0d78731c..c5d7b7d20ba810df4ad66f6826c529a106e81577:/include/wx/filefn.h?ds=sidebyside diff --git a/include/wx/filefn.h b/include/wx/filefn.h index fac3cff5ee..79d20a0d1b 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -578,7 +578,8 @@ inline int wxLstat(const wxString& path, wxStructStat *buf) { return wxCRT_Lstat(path.fn_str(), buf); } inline int wxRmDir(const wxString& path) { return wxCRT_RmDir(path.fn_str()); } -#if defined(__WINDOWS__) || (defined(__OS2__) && defined(__WATCOMC__)) +#if (defined(__WINDOWS__) && !defined(__CYGWIN__)) \ + || (defined(__OS2__) && defined(__WATCOMC__)) inline int wxMkDir(const wxString& path, mode_t WXUNUSED(mode) = 0) { return wxCRT_MkDir(path.fn_str()); } #else