Go to the documentation of this file. 17 #ifndef LANELET2_GLOBAL_PLANNER__VISIBILITY_CONTROL_HPP_ 18 #define LANELET2_GLOBAL_PLANNER__VISIBILITY_CONTROL_HPP_ 21 #if defined(LANELET2_GLOBAL_PLANNER_BUILDING_DLL) || defined(LANELET2_GLOBAL_PLANNER_EXPORTS) 22 #define LANELET2_GLOBAL_PLANNER_PUBLIC __declspec(dllexport) 23 #define LANELET2_GLOBAL_PLANNER_LOCAL 25 #define LANELET2_GLOBAL_PLANNER_PUBLIC __declspec(dllimport) 26 #define LANELET2_GLOBAL_PLANNER_LOCAL 28 #elif defined(__linux__) 29 #define LANELET2_GLOBAL_PLANNER_PUBLIC __attribute__((visibility("default"))) 30 #define LANELET2_GLOBAL_PLANNER_LOCAL __attribute__((visibility("hidden"))) 31 #elif defined(__APPLE__) 32 #define LANELET2_GLOBAL_PLANNER_PUBLIC __attribute__((visibility("default"))) 33 #define LANELET2_GLOBAL_PLANNER_LOCAL __attribute__((visibility("hidden"))) 35 #error "Unsupported Build Configuration" 37 #endif // LANELET2_GLOBAL_PLANNER__VISIBILITY_CONTROL_HPP_