Go to the documentation of this file.
15 #ifndef LANE_PLANNER__VISIBILITY_CONTROL_HPP_
16 #define LANE_PLANNER__VISIBILITY_CONTROL_HPP_
20 #if defined(LANE_PLANNER_BUILDING_DLL) || defined(LANE_PLANNER_EXPORTS)
21 #define LANE_PLANNER_PUBLIC __declspec(dllexport)
22 #define LANE_PLANNER_LOCAL
23 #else // defined(LANE_PLANNER_BUILDING_DLL) || defined(LANE_PLANNER_EXPORTS)
24 #define LANE_PLANNER_PUBLIC __declspec(dllimport)
25 #define LANE_PLANNER_LOCAL
26 #endif // defined(LANE_PLANNER_BUILDING_DLL) || defined(LANE_PLANNER_EXPORTS)
27 #elif defined(__linux__)
28 #define LANE_PLANNER_PUBLIC __attribute__((visibility("default")))
29 #define LANE_PLANNER_LOCAL __attribute__((visibility("hidden")))
30 #elif defined(__APPLE__)
31 #define LANE_PLANNER_PUBLIC __attribute__((visibility("default")))
32 #define LANE_PLANNER_LOCAL __attribute__((visibility("hidden")))
34 #error "Unsupported Build Configuration"
37 #endif // LANE_PLANNER__VISIBILITY_CONTROL_HPP_