X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1357a7dd5c4b56a96f749c4b83f3f646afc18620..6151e1445bdca0dfca660e3851aa3705bfd543de:/src/common/dircmn.cpp diff --git a/src/common/dircmn.cpp b/src/common/dircmn.cpp index ca35534dcf..dc0b24bbc1 100644 --- a/src/common/dircmn.cpp +++ b/src/common/dircmn.cpp @@ -56,7 +56,7 @@ bool wxDir::HasFiles(const wxString& spec) } // we have a (much) faster version for Unix -#ifndef __UNIX_LIKE__ +#if (defined(__CYGWIN__) && defined(__WINDOWS__)) || !defined(__UNIX_LIKE__) || defined(__WXMAC__) bool wxDir::HasSubDirs(const wxString& spec) {