From 927c511556cf8cfc17af6fc9540565bf7b28b078 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 26 Feb 2016 14:41:59 +0100 Subject: [PATCH] Compilation fix --- radio/src/gui/horus/widget.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/radio/src/gui/horus/widget.h b/radio/src/gui/horus/widget.h index efa1f5293..e161a38f9 100644 --- a/radio/src/gui/horus/widget.h +++ b/radio/src/gui/horus/widget.h @@ -31,7 +31,7 @@ struct Zone uint16_t x, y, w, h; }; -#define LEN_ZONE_OPTION_STRING 8 +#define LEN_ZONE_OPTION_STRING 8 union ZoneOptionValue { bool boolValue; @@ -41,9 +41,9 @@ union ZoneOptionValue }; #if defined(_MSC_VER) - #define OPTION_DEFAULT_VALUE(x) + #define OPTION_DEFAULT_VALUE(...) #else - #define OPTION_DEFAULT_VALUE(x) x + #define OPTION_DEFAULT_VALUE(x) x #endif struct ZoneOption