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
|
@ -27,7 +27,7 @@
|
|||
#include "default_state_machine.h" // NOLINT
|
||||
#include "states.h" // NOLINT
|
||||
|
||||
#if __cplusplus
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
@ -476,6 +476,6 @@ fail:
|
|||
return RCL_RET_ERROR;
|
||||
}
|
||||
|
||||
#if __cplusplus
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // extern "C"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue