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
|
@ -15,7 +15,7 @@
|
|||
#ifndef COM_INTERFACE_H_
|
||||
#define COM_INTERFACE_H_
|
||||
|
||||
#if __cplusplus
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
@ -51,7 +51,7 @@ rcl_lifecycle_com_interface_publish_notification(
|
|||
rcl_lifecycle_com_interface_t * com_interface,
|
||||
const rcl_lifecycle_state_t * start, const rcl_lifecycle_state_t * goal);
|
||||
|
||||
#if __cplusplus
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue