From a02229956877374c47c78d044e8f846f4442c1d8 Mon Sep 17 00:00:00 2001 From: William Woodall Date: Mon, 14 Dec 2015 23:27:14 -0800 Subject: [PATCH] fixup --- rcl/src/rcl/stdatomic_helper/gcc/stdatomic.h | 5 +++++ 1 file changed, 5 insertions(+) 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