From 07a94f6b09d1b2c718367eff007795e2b317895f Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Sun, 21 Nov 2010 18:15:32 +0000 Subject: 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 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/filename_list.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/filename_list.cxx b/src/filename_list.cxx index f8cbe9eb1..e158033af 100644 --- a/src/filename_list.cxx +++ b/src/filename_list.cxx @@ -83,7 +83,7 @@ int fl_filename_list(const char *d, dirent ***list, 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__) -- cgit v1.2.3