DocSDK  2.4.1
config.h
Go to the documentation of this file.
1 /* Copyright 2021 ID R&D Inc. All Rights Reserved. */
2 
8 #pragma once
9 
10 #if defined _WIN32 || defined __CYGWIN__
11 #define DOCSDK_API_IMPORT __declspec(dllimport)
12 #define DOCSDK_API_EXPORT __declspec(dllexport)
13 #elif __GNUC__ >= 4 || defined __clang__ && !defined(__CUDACC__)
14 #define DOCSDK_API_IMPORT __attribute__((visibility("default")))
15 #define DOCSDK_API_EXPORT __attribute__((visibility("default")))
16 #else
17 #define DOCSDK_API_IMPORT
18 #define DOCSDK_API_EXPORT
19 #endif
20 
21 #ifdef DOCSDK_EXPORT
22 #define DOCSDK_API DOCSDK_API_EXPORT
23 #else
24 #define DOCSDK_API DOCSDK_API_IMPORT
25 #endif