diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-11-12 20:35:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 20:35:27 -0500 |
commit | 27b930df24b59fdbc8996f86e702849e8a3678b1 (patch) | |
tree | 52157267467d84cd9ce83265ca4b600b1b802af1 /sway/commands | |
parent | 3b8d4a9212c335211001e96a0b0fbcb8049d0557 (diff) | |
parent | 2afd930914c9d31ed1da5ffd80b18f029e84f8c5 (diff) |
Merge pull request #3117 from emersion/wlroots-config10
Use #if instead of #ifdef for WLR_HAS_*
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/create_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/create_output.c b/sway/commands/create_output.c index 1c2464ea..3f870acb 100644 --- a/sway/commands/create_output.c +++ b/sway/commands/create_output.c @@ -1,7 +1,7 @@ #include <wlr/config.h> #include <wlr/backend/multi.h> #include <wlr/backend/wayland.h> -#ifdef WLR_HAS_X11_BACKEND +#if WLR_HAS_X11_BACKEND #include <wlr/backend/x11.h> #endif #include "sway/commands.h" @@ -18,7 +18,7 @@ static void create_output(struct wlr_backend *backend, void *data) { wlr_wl_output_create(backend); *done = true; } -#ifdef WLR_HAS_X11_BACKEND +#if WLR_HAS_X11_BACKEND else if (wlr_backend_is_x11(backend)) { wlr_x11_output_create(backend); *done = true; |