strcasestr needed on Cygwin too

See: https://groups.google.com/d/msgid/tesseract-ocr/55B12C3C.3010908%40vol.at
```
pango_font_info.cpp:223:46: error: 'strcasestr' was not declared in this scope
   is_fraktur_ = (strcasestr(family, "Fraktur") != NULL);
```
This commit is contained in:
Jim Regan 2015-07-23 22:20:10 +01:00 committed by Zdenko Podobný
parent 0ae83ca5c4
commit 84f1a3dc74

View File

@ -22,11 +22,11 @@
#include "config_auto.h"
#endif
#ifdef MINGW
#if (defined MINGW) || (defined __CYGWIN__)
// workaround for stdlib.h and putenv
#undef __STRICT_ANSI__
#include "strcasestr.h"
#endif // MINGW
#endif // MINGW/Cygwin
#include <stdlib.h>
#include <stdio.h>
#include <string.h>