Go to the documentation of this file.
20 #ifndef STATE_ESTIMATION_NODES__VISIBILITY_CONTROL_HPP_
21 #define STATE_ESTIMATION_NODES__VISIBILITY_CONTROL_HPP_
25 #if defined(STATE_ESTIMATION_NODES_BUILDING_DLL) || defined(STATE_ESTIMATION_NODES_EXPORTS)
26 #define STATE_ESTIMATION_NODES_PUBLIC __declspec(dllexport)
27 #define STATE_ESTIMATION_NODES_LOCAL
28 #else // defined(STATE_ESTIMATION_NODES_BUILDING_DLL) || defined(STATE_ESTIMATION_NODES_EXPORTS)
29 #define STATE_ESTIMATION_NODES_PUBLIC __declspec(dllimport)
30 #define STATE_ESTIMATION_NODES_LOCAL
31 #endif // defined(STATE_ESTIMATION_NODES_BUILDING_DLL) || defined(STATE_ESTIMATION_NODES_EXPORTS)
32 #elif defined(__linux__)
33 #define STATE_ESTIMATION_NODES_PUBLIC __attribute__((visibility("default")))
34 #define STATE_ESTIMATION_NODES_LOCAL __attribute__((visibility("hidden")))
35 #elif defined(__APPLE__)
36 #define STATE_ESTIMATION_NODES_PUBLIC __attribute__((visibility("default")))
37 #define STATE_ESTIMATION_NODES_LOCAL __attribute__((visibility("hidden")))
38 #else // defined(__linux__)
39 #error "Unsupported Build Configuration"
40 #endif // defined(__WIN32)
42 #endif // STATE_ESTIMATION_NODES__VISIBILITY_CONTROL_HPP_