Remove platform #ifdef from macOS native filechooser

This commit is contained in:
Albrecht Schlosser 2022-02-03 19:38:33 +01:00
parent 2e6e0b9c36
commit 4eaa6dfd0d

View File

@ -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__