use portable macro

pull/158/head
pepper-jelly 3 years ago
parent 0733c39e0c
commit b0070eac02

@ -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 */

Loading…
Cancel
Save