git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1213
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif
#include "wx/setup.h"
#endif
#include "wx/setup.h"
+
+#if defined(HAVE_FNMATCH_H) || defined(__GNUWIN32__)
#include "fnmatch.h"
#endif
#include "fnmatch.h"
#endif
};
bool wxMatchWild( const wxString& pat, const wxString& text, bool dot_special )
};
bool wxMatchWild( const wxString& pat, const wxString& text, bool dot_special )
+
+#if defined(HAVE_FNMATCH_H) || defined(__GNUWIN32__)
{
if(dot_special)
return fnmatch(pat.c_str(), text.c_str(), FNM_PERIOD) == 0;
{
if(dot_special)
return fnmatch(pat.c_str(), text.c_str(), FNM_PERIOD) == 0;