From 4eaa6dfd0d589757c37cc2de14389f6a15b0219b Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 3 Feb 2022 19:38:33 +0100 Subject: Remove platform #ifdef from macOS native filechooser --- src/Fl_Native_File_Chooser_MAC.mm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Fl_Native_File_Chooser_MAC.mm b/src/Fl_Native_File_Chooser_MAC.mm index ae0072fee..413ceda34 100644 --- a/src/Fl_Native_File_Chooser_MAC.mm +++ b/src/Fl_Native_File_Chooser_MAC.mm @@ -1,8 +1,8 @@ // -// FLTK native OS file chooser widget +// FLTK native OS file chooser widget for macOS // -// Copyright 1998-2018 by Bill Spitzak and others. // Copyright 2004 Greg Ercolano. +// Copyright 1998-2022 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 @@ -20,8 +20,6 @@ // Possibly 'preset_file' could be used to select the filename. // -#ifdef __APPLE__ - #include #include // for fl_mac_os_version #include @@ -759,5 +757,3 @@ int Fl_Quartz_Native_File_Chooser_Driver::post() { [localPool release]; return (retval == 1 ? 0 : 1); } - -#endif // __APPLE__ -- cgit v1.2.3