diff options
author | emersion <contact@emersion.fr> | 2018-11-12 10:12:46 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-11-12 10:12:46 +0100 |
commit | 51bfdd620e70c41e1a9fb4ce7831eddfb1bf893b (patch) | |
tree | f32586aa88e18d9bfec7cbcbeb5c682b2f35fb4a /include/rootston/server.h | |
parent | 3181c4bec06d2fe51da052c0a08c8287725ec900 (diff) |
Use #if instead of #ifdef for wlroots config data
This prevents some annoying issues when e.g. not including wlr/config.h or
making a typo in the guard name.
Diffstat (limited to 'include/rootston/server.h')
-rw-r--r-- | include/rootston/server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rootston/server.h b/include/rootston/server.h index 7ab15682..1836a374 100644 --- a/include/rootston/server.h +++ b/include/rootston/server.h @@ -7,7 +7,7 @@ #include <wlr/config.h> #include <wlr/render/wlr_renderer.h> #include <wlr/types/wlr_data_device.h> -#ifdef WLR_HAS_XWAYLAND +#if WLR_HAS_XWAYLAND #include <wlr/xwayland.h> #endif #include "rootston/config.h" |