}
// we have a (much) faster version for Unix
-#ifndef __UNIX_LIKE__
+// 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)
{