Author: greg.ercolano
Date: 2010-11-21 10:15:32 -0800 (Sun, 21 Nov 2010)
New Revision: 7881
Log:
STR #2428: Applied Manolo's 'line 86' mod to fix warnings on Tiger. Tested on:
               Tiger: no warnings now (had warnings before)
               Snow Leopard: no warnings now or before
               Ubuntu 8.04: no warnings now or before
               Windows + VS 2005 Express: no warnings now or before


Modified:
   branches/branch-1.3/src/filename_list.cxx

Modified: branches/branch-1.3/src/filename_list.cxx
===================================================================
--- branches/branch-1.3/src/filename_list.cxx   2010-11-21 15:01:58 UTC (rev 
7880)
+++ branches/branch-1.3/src/filename_list.cxx   2010-11-21 18:15:32 UTC (rev 
7881)
@@ -83,7 +83,7 @@
                      Fl_File_Sort_F *sort) {
 #ifndef HAVE_SCANDIR
   int n = scandir(d, list, 0, sort);
-#elif defined(HAVE_SCANDIR_POSIX)
+#elif defined(HAVE_SCANDIR_POSIX) && !defined(__APPLE__)
   // POSIX (2008) defines the comparison function like this:
   int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
 #elif defined(__osf__)

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

Reply via email to