Author: matt Date: 2012-08-03 07:35:04 -0700 (Fri, 03 Aug 2012) New Revision: 9656 Log: OK, giving up. If this doesn't do it, I don't know ;-)
Modified: branches/branch-3.0/src/fltk3/filename_list.cxx Modified: branches/branch-3.0/src/fltk3/filename_list.cxx =================================================================== --- branches/branch-3.0/src/fltk3/filename_list.cxx 2012-08-03 14:17:49 UTC (rev 9655) +++ branches/branch-3.0/src/fltk3/filename_list.cxx 2012-08-03 14:35:04 UTC (rev 9656) @@ -116,10 +116,10 @@ #elif defined(__sgi) int n = scandir(dirloc, list, 0, sort); #elif defined(__APPLE__) -# if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_8 +# if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_8 + int n = scandir(dirloc, list, 0, (int(*)(const struct dirent**,const struct dirent**))sort); +# else int n = scandir(dirloc, list, 0, (int(*)(const void*,const void*))sort); -# else - int n = scandir(dirloc, list, 0, (int(*)(const struct dirent**,const struct dirent**))sort); # endif #else // The vast majority of UNIX systems want the sort function to have this _______________________________________________ fltk-commit mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-commit
