diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/menubar.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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 <FL/Fl.H> +#if defined(FLTK_USE_X11) && defined(__APPLE__) +# undef __APPLE__ +#endif #ifdef __APPLE__ #include <FL/platform.H> // for Fl_Mac_App_Menu #endif |
