From dc0c85b9644553ac9b5c51da43697b9906f9b44d Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 19 Dec 2010 17:57:19 +0000 Subject: Added protection against compilation besides Mac OS X. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Native_File_Chooser_MAC.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_Native_File_Chooser_MAC.mm') diff --git a/src/Fl_Native_File_Chooser_MAC.mm b/src/Fl_Native_File_Chooser_MAC.mm index f3b8d6f2b..9ed970d69 100644 --- a/src/Fl_Native_File_Chooser_MAC.mm +++ b/src/Fl_Native_File_Chooser_MAC.mm @@ -30,7 +30,7 @@ // Possibly 'preset_file' could be used to select the filename. // -#ifndef FL_DOXYGEN // PREVENT DOXYGEN'S USE OF THIS FILE +#ifdef __APPLE__ #include "Fl_Native_File_Chooser_common.cxx" // strnew/strfree/strapp/chrcat #include // dirname(3) @@ -577,7 +577,7 @@ int Fl_Native_File_Chooser::post() { return (retval == NSOKButton ? 0 : 1); } -#endif /*!FL_DOXYGEN*/ +#endif // __APPLE__ // // End of "$Id$". -- cgit v1.2.3