Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Change #if to #ifdef #227

Merged
merged 1 commit into from
May 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@

#include "rosidl_typesupport_opensplice_c/visibility_control.h"

#if __cplusplus
#ifdef __cplusplus
extern "C"
{
#endif

ROSIDL_TYPESUPPORT_OPENSPLICE_C_IMPORT
extern const char * rosidl_typesupport_opensplice_c__identifier;

#if __cplusplus
#ifdef __cplusplus
}
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef ROSIDL_TYPESUPPORT_OPENSPLICE_C__VISIBILITY_CONTROL_H_
#define ROSIDL_TYPESUPPORT_OPENSPLICE_C__VISIBILITY_CONTROL_H_

#if __cplusplus
#ifdef __cplusplus
extern "C"
{
#endif
Expand Down Expand Up @@ -49,7 +49,7 @@ extern "C"
#endif
#endif

#if __cplusplus
#ifdef __cplusplus
}
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef @PROJECT_NAME_UPPER@__MSG__ROSIDL_TYPESUPPORT_OPENSPLICE_C__VISIBILITY_CONTROL_H_
#define @PROJECT_NAME_UPPER@__MSG__ROSIDL_TYPESUPPORT_OPENSPLICE_C__VISIBILITY_CONTROL_H_

#if __cplusplus
#ifdef __cplusplus
extern "C"
{
#endif
Expand Down Expand Up @@ -36,7 +36,7 @@ extern "C"
#endif
#endif

#if __cplusplus
#ifdef __cplusplus
}
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// Provides visibility macros like ROSIDL_TYPESUPPORT_OPENSPLICE_CPP_PUBLIC.
#include <rosidl_typesupport_opensplice_cpp/visibility_control.h>

#if __cplusplus
#ifdef __cplusplus
extern "C"
{
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef ROSIDL_TYPESUPPORT_OPENSPLICE_CPP__VISIBILITY_CONTROL_H_
#define ROSIDL_TYPESUPPORT_OPENSPLICE_CPP__VISIBILITY_CONTROL_H_

#if __cplusplus
#ifdef __cplusplus
extern "C"
{
#endif
Expand Down Expand Up @@ -49,7 +49,7 @@ extern "C"
#endif
#endif

#if __cplusplus
#ifdef __cplusplus
}
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#ifndef @PROJECT_NAME_UPPER@__MSG__ROSIDL_TYPESUPPORT_OPENSPLICE_CPP__VISIBILITY_CONTROL_H_
#define @PROJECT_NAME_UPPER@__MSG__ROSIDL_TYPESUPPORT_OPENSPLICE_CPP__VISIBILITY_CONTROL_H_

#if __cplusplus
#ifdef __cplusplus
extern "C"
{
#endif
Expand All @@ -30,7 +30,7 @@ extern "C"
#define ROSIDL_TYPESUPPORT_OPENSPLICE_CPP_PUBLIC_@PROJECT_NAME@
#endif

#if __cplusplus
#ifdef __cplusplus
}
#endif

Expand Down