From cca02595c461925a7377a7dba6b401f858fbb841 Mon Sep 17 00:00:00 2001 From: Robear Selwans Date: Sun, 19 Dec 2021 22:17:08 +0200 Subject: [PATCH] Updated EV_STRINGIZE Signed-off-by: Robear Selwans --- ev_macros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ev_macros.h b/ev_macros.h index 00466c2..3849c6c 100644 --- a/ev_macros.h +++ b/ev_macros.h @@ -57,8 +57,8 @@ /*! * \brief Macro to wrap tokens in double quotations. (") */ -#define EV_STRINGIZE(a) EV_STRINGIZE_IMPL(a) -#define EV_STRINGIZE_IMPL(a) #a +#define EV_STRINGIZE(...) EV_STRINGIZE_IMPL(__VA_ARGS__) +#define EV_STRINGIZE_IMPL(...) #__VA_ARGS__ // Used for the removal of parenthesis around tokens #define EV_EXPAND(...) __VA_ARGS__