X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ed76cd9b7d5922971093514f585fcaf65ed792c..e83ecba968c94965523be449a56fffcf4c55010b:/src/common/dircmn.cpp diff --git a/src/common/dircmn.cpp b/src/common/dircmn.cpp index 8591612324..074cd75f9e 100644 --- a/src/common/dircmn.cpp +++ b/src/common/dircmn.cpp @@ -56,7 +56,9 @@ bool wxDir::HasFiles(const wxString& spec) } // we have a (much) faster version for Unix -#if !defined(__UNIX_LIKE__) || defined(__WXMAC__) +// MBN: Cygwin should use the Unix version, but with the current build sistem +// this is painful +#if defined(__CYGWIN__) || !defined(__UNIX_LIKE__) || defined(__WXMAC__) bool wxDir::HasSubDirs(const wxString& spec) {