diff --git a/rcl/src/rcl/stdatomic_helper/gcc/stdatomic.h b/rcl/src/rcl/stdatomic_helper/gcc/stdatomic.h index 9b6cb20..dd0c674 100644 --- a/rcl/src/rcl/stdatomic_helper/gcc/stdatomic.h +++ b/rcl/src/rcl/stdatomic_helper/gcc/stdatomic.h @@ -74,6 +74,11 @@ #ifndef _STDATOMIC_H_ // NOLINT #define _STDATOMIC_H_ +#if __cplusplus +// This will suppress warnings about _Bool not being defined. +typedef bool _Bool; +#endif + #include #include