mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-06-07 09:52:40 +08:00
Fixed VC14 compiler issue.
In VC14 snprintf function is provided in standard library there triggering error. "snprintf Do not define snprintf as a macro. Macro definition of snprintf conflicts with Standard Library function declaration" Signed-off-by: Jaka Konda <jaka.konda@outlook.com>
This commit is contained in:
parent
76a28640c6
commit
9cc0914f06
@ -29,7 +29,9 @@
|
||||
#endif /* __GNUC__ */
|
||||
#define SIGNED
|
||||
#if defined(_MSC_VER)
|
||||
#if (_MSC_VER < 1900)
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
#if (_MSC_VER <= 1400)
|
||||
#define vsnprintf _vsnprintf
|
||||
#endif /* (_MSC_VER <= 1400) */
|
||||
|
Loading…
Reference in New Issue
Block a user