// generated from rosidl_generator_c/resource/rosidl_generator_c__visibility_control.h.in
// generated code does not contain a copyright notice

#ifndef VIRTUAL_ROBOT_PROCOCOL__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_
#define VIRTUAL_ROBOT_PROCOCOL__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_

#ifdef __cplusplus
extern "C"
{
#endif

// This logic was borrowed (then namespaced) from the examples on the gcc wiki:
//     https://gcc.gnu.org/wiki/Visibility

#if defined _WIN32 || defined __CYGWIN__
  #ifdef __GNUC__
    #define ROSIDL_GENERATOR_C_EXPORT_virtual_robot_prococol __attribute__ ((dllexport))
    #define ROSIDL_GENERATOR_C_IMPORT_virtual_robot_prococol __attribute__ ((dllimport))
  #else
    #define ROSIDL_GENERATOR_C_EXPORT_virtual_robot_prococol __declspec(dllexport)
    #define ROSIDL_GENERATOR_C_IMPORT_virtual_robot_prococol __declspec(dllimport)
  #endif
  #ifdef ROSIDL_GENERATOR_C_BUILDING_DLL_virtual_robot_prococol
    #define ROSIDL_GENERATOR_C_PUBLIC_virtual_robot_prococol ROSIDL_GENERATOR_C_EXPORT_virtual_robot_prococol
  #else
    #define ROSIDL_GENERATOR_C_PUBLIC_virtual_robot_prococol ROSIDL_GENERATOR_C_IMPORT_virtual_robot_prococol
  #endif
#else
  #define ROSIDL_GENERATOR_C_EXPORT_virtual_robot_prococol __attribute__ ((visibility("default")))
  #define ROSIDL_GENERATOR_C_IMPORT_virtual_robot_prococol
  #if __GNUC__ >= 4
    #define ROSIDL_GENERATOR_C_PUBLIC_virtual_robot_prococol __attribute__ ((visibility("default")))
  #else
    #define ROSIDL_GENERATOR_C_PUBLIC_virtual_robot_prococol
  #endif
#endif

#ifdef __cplusplus
}
#endif

#endif  // VIRTUAL_ROBOT_PROCOCOL__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_
