Change #if to #ifdef. (#229)
Needed because you can't use preprocessor on undefined variables in MISRA.
This commit is contained in:
parent
5142a8a4b4
commit
e8491ab8ab
48 changed files with 95 additions and 95 deletions
|
@ -12,7 +12,7 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#if __cplusplus
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
@ -323,6 +323,6 @@ rcl_lifecycle_com_interface_publish_notification(
|
|||
return rcl_publish(&com_interface->pub_transition_event, &msg);
|
||||
}
|
||||
|
||||
#if __cplusplus
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue