mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-12 15:39:04 +08:00
fix using c-api / compile with gcc
This commit is contained in:
parent
a0564fd4ec
commit
bf6d929e4c
@ -38,7 +38,11 @@
|
||||
#endif
|
||||
#endif /* defined(_MSC_VER) */
|
||||
#else
|
||||
#ifdef __cplusplus
|
||||
#include <climits>
|
||||
#else /* C compiler*/
|
||||
#include <limits.h>
|
||||
#endif /* __cplusplus */
|
||||
#ifndef PATH_MAX
|
||||
#define MAX_PATH 4096
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user