summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-11-20 07:33:08 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-11-20 07:33:08 +0100
commit8a53fc96117de38cc63515ff2e94d435184dbe9e (patch)
tree9eefebdc3d55f71b30e6ad4580cc46efdd9d5613 /src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
parentf375ff968977300a696422e2e73f59f57a32125c (diff)
Replace #if FLTK_USE_X11 by #ifdef FLTK_USE_X11
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index 98ee9dcfe..cc5bc1324 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
@@ -50,7 +50,7 @@ extern "C" {
#define fl_max(a,b) ((a) > (b) ? (a) : (b))
#define fl_min(a,b) ((a) < (b) ? (a) : (b))
-#if !FLTK_USE_X11
+#if !defined(FLTK_USE_X11)
Window fl_window = 0;
#endif