Author: manolo
Date: 2011-12-02 01:24:59 -0800 (Fri, 02 Dec 2011)
New Revision: 9193
Log:
Fix STR #2782: allow early #include <FL/Fl_Native_File_Chooser.H>

Modified:
   branches/branch-1.3/FL/Fl_Native_File_Chooser.H

Modified: branches/branch-1.3/FL/Fl_Native_File_Chooser.H
===================================================================
--- branches/branch-1.3/FL/Fl_Native_File_Chooser.H     2011-11-29 14:41:33 UTC 
(rev 9192)
+++ branches/branch-1.3/FL/Fl_Native_File_Chooser.H     2011-12-02 09:24:59 UTC 
(rev 9193)
@@ -38,7 +38,6 @@
 
 // Use Apple's chooser
 #ifdef __APPLE__
-#include <FL/filename.H>
 #define MAXFILTERS     80
 #endif
 
@@ -46,6 +45,8 @@
 #if ! defined(__APPLE__) && !defined(WIN32)
 #include <FL/Fl_File_Chooser.H>
 #include <unistd.h>            // _POSIX_NAME_MAX
+#else
+#include <FL/filename.H>       // FL_EXPORT
 #endif
 
 

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to