From b0070eac0264dbca05e429fc1023b81a7b07e8b1 Mon Sep 17 00:00:00 2001 From: pepper-jelly Date: Mon, 14 Jun 2021 12:09:22 +0300 Subject: [PATCH] use portable macro --- dwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwm.c b/dwm.c index 51a8d82..ab7f814 100644 --- a/dwm.c +++ b/dwm.c @@ -523,9 +523,9 @@ typedef struct { } Rule; #if XKB_PATCH -#define RULE(...) { .monitor = -1, .xkb_layout = -1, ##__VA_ARGS__ }, +#define RULE(...) { .monitor = -1, .xkb_layout = -1, __VA_ARGS__ }, #else -#define RULE(...) { .monitor = -1, ##__VA_ARGS__ }, +#define RULE(...) { .monitor = -1, __VA_ARGS__ }, #endif // XKB_PATCH /* Cross patch compatibility rule macro helper macros */