Unverified Commit 249eccc8 authored by Denis Štogl's avatar Denis Štogl
Browse files

Correct style issues

parent 753a80f9
......@@ -34,23 +34,23 @@
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_IMPORT __declspec(dllimport)
#endif
#ifdef ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_BUILDING_DLL
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC \
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC \
ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_EXPORT
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC \
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC \
ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_IMPORT
#endif
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC_TYPE \
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC_TYPE \
ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_LOCAL
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_EXPORT \
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_EXPORT \
__attribute__((visibility("default")))
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_IMPORT
#if __GNUC__ >= 4
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC \
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC \
__attribute__((visibility("default")))
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_LOCAL \
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_LOCAL \
__attribute__((visibility("hidden")))
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC
......
......@@ -27,32 +27,32 @@
#if defined _WIN32 || defined __CYGWIN__
#ifdef __GNUC__
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_EXPORT \
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_EXPORT \
__attribute__((dllexport))
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_IMPORT \
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_IMPORT \
__attribute__((dllimport))
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_EXPORT __declspec(dllexport)
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_IMPORT __declspec(dllimport)
#endif
#ifdef ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_BUILDING_DLL
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC \
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC \
ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_EXPORT
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC \
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC \
ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_IMPORT
#endif
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC_TYPE \
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC_TYPE \
ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_LOCAL
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_EXPORT \
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_EXPORT \
__attribute__((visibility("default")))
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_IMPORT
#if __GNUC__ >= 4
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC \
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC \
__attribute__((visibility("default")))
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_LOCAL \
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_LOCAL \
__attribute__((visibility("hidden")))
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC
......@@ -61,4 +61,4 @@
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC_TYPE
#endif
#endif // ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS__VISIBILITY_CONTROL_H_
#endif // ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS__VISIBILITY_CONTROL_H_
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment