Go to the documentation of this file.
15 #ifndef RECORDREPLAY_PLANNER_NODES__VISIBILITY_CONTROL_HPP_
16 #define RECORDREPLAY_PLANNER_NODES__VISIBILITY_CONTROL_HPP_
19 #if defined(RECORDREPLAY_PLANNER_NODES_BUILDING_DLL) || \
20 defined(RECORDREPLAY_PLANNER_NODES_EXPORTS)
21 #define RECORDREPLAY_PLANNER_NODES_PUBLIC __declspec(dllexport)
22 #define RECORDREPLAY_PLANNER_NODES_LOCAL
25 #define RECORDREPLAY_PLANNER_NODES_PUBLIC __declspec(dllimport)
26 #define RECORDREPLAY_PLANNER_NODES_LOCAL
29 #elif defined(__linux__)
30 #define RECORDREPLAY_PLANNER_NODES_PUBLIC __attribute__((visibility("default")))
31 #define RECORDREPLAY_PLANNER_NODES_LOCAL __attribute__((visibility("hidden")))
32 #elif defined(__APPLE__)
33 #define RECORDREPLAY_PLANNER_NODES_PUBLIC __attribute__((visibility("default")))
34 #define RECORDREPLAY_PLANNER_NODES_LOCAL __attribute__((visibility("hidden")))
35 #else // defined(_LINUX)
36 #error "Unsupported Build Configuration"
37 #endif // defined(_WINDOWS)
39 #endif // RECORDREPLAY_PLANNER_NODES__VISIBILITY_CONTROL_HPP_