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
This commit is contained in:
parent
57083d0222
commit
07a94f6b09
@ -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__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user