Go to the documentation of this file.
18 #ifndef TESSERACT_PLATFORM_H_
19 #define TESSERACT_PLATFORM_H_
22 # if defined(_WIN32) || defined(__CYGWIN__)
23 # if defined(TESS_EXPORTS)
24 # define TESS_API __declspec(dllexport)
25 # elif defined(TESS_IMPORTS)
26 # define TESS_API __declspec(dllimport)
31 # if defined(TESS_EXPORTS) || defined(TESS_IMPORTS)
32 # define TESS_API __attribute__((visibility("default")))