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