Go to the documentation of this file.
17 #if defined _WIN32 || defined __CYGWIN__
19 # define MC_TASKS_ROS_DLLIMPORT __declspec(dllimport)
20 # define MC_TASKS_ROS_DLLEXPORT __declspec(dllexport)
21 # define MC_TASKS_ROS_DLLLOCAL
25 # define MC_TASKS_ROS_DLLIMPORT __attribute__((visibility("default")))
26 # define MC_TASKS_ROS_DLLEXPORT __attribute__((visibility("default")))
27 # define MC_TASKS_ROS_DLLLOCAL __attribute__((visibility("hidden")))
30 # define MC_TASKS_ROS_DLLIMPORT
31 # define MC_TASKS_ROS_DLLEXPORT
32 # define MC_TASKS_ROS_DLLLOCAL
33 # endif // __GNUC__ >= 4
34 #endif // defined _WIN32 || defined __CYGWIN__
36 #ifdef MC_TASKS_ROS_STATIC
39 # define MC_TASKS_ROS_DLLAPI
40 # define MC_TASKS_ROS_LOCAL
44 # ifdef MC_TASKS_ROS_EXPORTS
45 # define MC_TASKS_ROS_DLLAPI MC_TASKS_ROS_DLLEXPORT
47 # define MC_TASKS_ROS_DLLAPI MC_TASKS_ROS_DLLIMPORT
48 # endif // MC_TASKS_ROS_EXPORTS
49 # define MC_TASKS_ROS_LOCAL MC_TASKS_ROS_DLLLOCAL
50 #endif // MC_TASKS_ROS_STATIC