git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14260
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
// 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)
{
#endif
#ifndef WX_PRECOMP
+#include <wx/icon.h>
+#include <wx/intl.h>
#endif // WX_PRECOMP
#include "wx/dir.h"
while (*pVol)
{
FilteredAdd(list, pVol, flagsSet, flagsUnset);
- pVol = pVol + _tcslen(pVol) + 1;
+ pVol = pVol + wxStrlen(pVol) + 1;
}
// Cleanup.