summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-02-03 19:38:33 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-02-03 19:38:33 +0100
commit4eaa6dfd0d589757c37cc2de14389f6a15b0219b (patch)
treed5b3687200b1d6917e52335a58b3ffa2fae12115 /src
parent2e6e0b9c36fbf92d0d551aca077580e7a57c266a (diff)
Remove platform #ifdef from macOS native filechooser
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Native_File_Chooser_MAC.mm8
1 files 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 <FL/Fl.H>
#include <FL/platform.H> // for fl_mac_os_version
#include <FL/Fl_Native_File_Chooser.H>
@@ -759,5 +757,3 @@ int Fl_Quartz_Native_File_Chooser_Driver::post() {
[localPool release];
return (retval == 1 ? 0 : 1);
}
-
-#endif // __APPLE__