From 6276822e9e8f505756b386637df9e14dd5a8e2fb Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 2 Feb 2023 18:48:13 +0100 Subject: Allow cmake -DOPTION_APPLE_X11=On without -U__APPLE__ --- cairo/Fl_Cairo.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cairo') 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 -#elif defined(__APPLE__) // macOS -# include #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 +#elif defined(__APPLE__) // macOS +# include #else # error Cairo is not supported on this platform. #endif -- cgit v1.2.3