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__ --- test/menubar.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/menubar.cxx b/test/menubar.cxx index f8b1aaffc..a1c7bc7fe 100644 --- a/test/menubar.cxx +++ b/test/menubar.cxx @@ -1,7 +1,7 @@ // // Menubar test program for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2020 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 @@ -15,6 +15,9 @@ // #include +#if defined(FLTK_USE_X11) && defined(__APPLE__) +# undef __APPLE__ +#endif #ifdef __APPLE__ #include // for Fl_Mac_App_Menu #endif -- cgit v1.2.3