Loading...
Searching...
No Matches
Go to the documentation of this file.
18#ifndef TESSERACT_CCUTIL_PLATFORM_H_
19#define TESSERACT_CCUTIL_PLATFORM_H_
31# define MAX_PATH PATH_MAX
35#if defined(_WIN32) || defined(__CYGWIN__)
36# if defined(TESS_EXPORTS)
37# define TESS_API __declspec(dllexport)
38# elif defined(TESS_IMPORTS)
39# define TESS_API __declspec(dllimport)
46# if defined(TESS_EXPORTS) || defined(TESS_IMPORTS)
47# define TESS_API __attribute__((visibility("default")))
48# define TESS_LOCAL __attribute__((visibility("hidden")))