Skip to content

Commit eda4330

Browse files
author
Michael Carroll
authored
Merge pull request #39 from ros2/misra_fixup
Change #if to #ifdef
2 parents 3fc7402 + d5302c4 commit eda4330

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rmw_implementation/src/functions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ get_symbol(const char * symbol_name)
168168
return lib->getSymbol(symbol_name);
169169
}
170170

171-
#if __cplusplus
171+
#ifdef __cplusplus
172172
extern "C"
173173
{
174174
#endif
@@ -417,6 +417,6 @@ rmw_init(void)
417417
rmw_init, rmw_ret_t, RMW_RET_ERROR, ARG_TYPES(void), ARG_VALUES_0())
418418
}
419419

420-
#if __cplusplus
420+
#ifdef __cplusplus
421421
}
422422
#endif

0 commit comments

Comments
 (0)