mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-01 07:59:05 +08:00
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:
parent
0ae83ca5c4
commit
84f1a3dc74
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user