mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-28 11:08:15 +08:00
d8b1456dd5
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@305 d0cd1f9f-072b-0410-8dd7-cf729c803f20
27 lines
479 B
C
27 lines
479 B
C
// Place holder
|
|
#define DLLSYM
|
|
#ifdef __MSW32__
|
|
#define SIGNED
|
|
#define snprintf _snprintf
|
|
#define read _read
|
|
#define write _write
|
|
#define close _close
|
|
#define lseek _lseek
|
|
#define open _open
|
|
#define ultoa _ultoa
|
|
#define ltoa _ltoa
|
|
#define strtok_r(s, d, p) strtok(s, d)
|
|
#if (_MSC_VER <= 1400)
|
|
#define vsnprintf _vsnprintf
|
|
#endif
|
|
#else
|
|
#define __UNIX__
|
|
#include <limits.h>
|
|
#ifndef PATH_MAX
|
|
#define MAX_PATH 4096
|
|
#else
|
|
#define MAX_PATH PATH_MAX
|
|
#endif
|
|
#define SIGNED signed
|
|
#endif
|