 |
OR-Tools
8.0
|
Go to the documentation of this file.
14 #ifndef OR_TOOLS_BASE_BASE_EXPORT_H_
15 #define OR_TOOLS_BASE_BASE_EXPORT_H_
17 #if defined(COMPONENT_BUILD)
19 #if defined(BASE_IMPLEMENTATION)
20 #define BASE_EXPORT __declspec(dllexport)
21 #define BASE_EXPORT_PRIVATE __declspec(dllexport)
23 #define BASE_EXPORT __declspec(dllimport)
24 #define BASE_EXPORT_PRIVATE __declspec(dllimport)
25 #endif // defined(BASE_IMPLEMENTATION)
27 #else // defined(WIN32)
28 #if defined(BASE_IMPLEMENTATION)
29 #define BASE_EXPORT __attribute__((visibility("default")))
30 #define BASE_EXPORT_PRIVATE __attribute__((visibility("default")))
33 #define BASE_EXPORT_PRIVATE
34 #endif // defined(BASE_IMPLEMENTATION)
37 #else // defined(COMPONENT_BUILD)
39 #define BASE_EXPORT_PRIVATE
42 #endif // OR_TOOLS_BASE_BASE_EXPORT_H_