use portable macro

This commit is contained in:
pepper-jelly 2021-06-14 12:09:22 +03:00
parent 0733c39e0c
commit b0070eac02

4
dwm.c
View File

@ -523,9 +523,9 @@ typedef struct {
} Rule; } Rule;
#if XKB_PATCH #if XKB_PATCH
#define RULE(...) { .monitor = -1, .xkb_layout = -1, ##__VA_ARGS__ }, #define RULE(...) { .monitor = -1, .xkb_layout = -1, __VA_ARGS__ },
#else #else
#define RULE(...) { .monitor = -1, ##__VA_ARGS__ }, #define RULE(...) { .monitor = -1, __VA_ARGS__ },
#endif // XKB_PATCH #endif // XKB_PATCH
/* Cross patch compatibility rule macro helper macros */ /* Cross patch compatibility rule macro helper macros */