summaryrefslogtreecommitdiff
path: root/cairo
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-02-02 18:48:13 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-02-02 18:48:24 +0100
commit6276822e9e8f505756b386637df9e14dd5a8e2fb (patch)
tree9294dc6114e2d92ea4eef6041a6809e2e4c44a27 /cairo
parent4e75549e7bd8b0ea032cf279066d0fac09577067 (diff)
Allow cmake -DOPTION_APPLE_X11=On without -U__APPLE__
Diffstat (limited to 'cairo')
-rw-r--r--cairo/Fl_Cairo.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cairo/Fl_Cairo.cxx b/cairo/Fl_Cairo.cxx
index a8a63b383..2def2698a 100644
--- a/cairo/Fl_Cairo.cxx
+++ b/cairo/Fl_Cairo.cxx
@@ -1,7 +1,7 @@
//
// Special Cairo support for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2022 by Bill Spitzak and others.
+// Copyright 1998-2023 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -34,8 +34,6 @@
#if defined(_WIN32) // Windows
# include <cairo-win32.h>
-#elif defined(__APPLE__) // macOS
-# include <cairo-quartz.h>
#elif defined(FLTK_USE_WAYLAND) // Wayland or hybrid
# include "../src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H"
# include "../src/drivers/Wayland/Fl_Wayland_Window_Driver.H"
@@ -46,6 +44,8 @@
# endif
#elif defined(FLTK_USE_X11) // X11
# include <cairo-xlib.h>
+#elif defined(__APPLE__) // macOS
+# include <cairo-quartz.h>
#else
# error Cairo is not supported on this platform.
#endif