Skip to content

Commit b31a337

Browse files
committed
Merge pull request #60 from tesseract-ocr/jimregan-cygwin-1
strcasestr needed on Cygwin too
2 parents 27b8a5c + c09ed71 commit b31a337

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

training/pango_font_info.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
#include "config_auto.h"
2323
#endif
2424

25-
#ifdef MINGW
25+
#if (defined MINGW) || (defined __CYGWIN__)
2626
// workaround for stdlib.h and putenv
2727
#undef __STRICT_ANSI__
2828
#include "strcasestr.h"
29-
#endif // MINGW
29+
#endif // MINGW/Cygwin
3030
#include <stdlib.h>
3131
#include <stdio.h>
3232
#include <string.h>

0 commit comments

Comments
 (0)