diff options
| author | Greg Ercolano <erco@seriss.com> | 2010-11-21 18:15:32 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2010-11-21 18:15:32 +0000 |
| commit | 07a94f6b09d1b2c718367eff007795e2b317895f (patch) | |
| tree | 7c9c626e2fdd5a12cba2d65b8407fc938d24471f | |
| parent | 57083d0222b8046b98e8f4b21868e0824ce1de42 (diff) | |
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
| -rw-r--r-- | src/filename_list.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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__) |
