From 45e862b79e2c656f5409783273ada9c27b0087d6 Mon Sep 17 00:00:00 2001 From: Martin Dahl Date: Tue, 26 Sep 2023 10:12:38 +0200 Subject: [PATCH] Workaround for _Check_return_ annotation --- r2r_rcl/src/rcl_wrapper.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/r2r_rcl/src/rcl_wrapper.h b/r2r_rcl/src/rcl_wrapper.h index 972fc73..d72a24d 100644 --- a/r2r_rcl/src/rcl_wrapper.h +++ b/r2r_rcl/src/rcl_wrapper.h @@ -1,3 +1,10 @@ +// Workaround for _Check_return_ annotation +#ifdef _WIN32 +#ifndef _Check_return_ +#define _Check_return_ +#endif +#endif + // ros client library #include