From 2afd930914c9d31ed1da5ffd80b18f029e84f8c5 Mon Sep 17 00:00:00 2001 From: emersion Date: Mon, 12 Nov 2018 22:23:06 +0100 Subject: Use #if instead of #ifdef for WLR_HAS_* --- sway/commands/create_output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sway/commands/create_output.c') 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 #include #include -#ifdef WLR_HAS_X11_BACKEND +#if WLR_HAS_X11_BACKEND #include #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; -- cgit v1.2.3-54-g00ecf