From 022ba3679f3837eb551c587aa6001b95409e0955 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 13 Apr 2001 19:13:14 +0000 Subject: AIX changes... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1430 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/filename_list.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/filename_list.cxx b/src/filename_list.cxx index 9c636f4af..cc87ea44f 100644 --- a/src/filename_list.cxx +++ b/src/filename_list.cxx @@ -1,5 +1,5 @@ // -// "$Id: filename_list.cxx,v 1.10.2.9 2001/01/22 15:13:40 easysw Exp $" +// "$Id: filename_list.cxx,v 1.10.2.10 2001/04/13 19:13:14 easysw Exp $" // // Filename list routines for the Fast Light Tool Kit (FLTK). // @@ -46,6 +46,9 @@ int filename_list(const char *d, dirent ***list) { #elif defined(__osf__) // OSF, DU 4.0x return scandir(d, list, 0, (int(*)(dirent **, dirent **))numericsort); +#elif defined(__aix) + // AIX is almost standard... + return scandir(d, list, 0, (int(*)(void*, void*))numericsort); #elif HAVE_SCANDIR && !defined(__sgi) // The vast majority of Unix systems want the sort function to have this // prototype, most likely so that it can be passed to qsort without any @@ -59,5 +62,5 @@ int filename_list(const char *d, dirent ***list) { } // -// End of "$Id: filename_list.cxx,v 1.10.2.9 2001/01/22 15:13:40 easysw Exp $". +// End of "$Id: filename_list.cxx,v 1.10.2.10 2001/04/13 19:13:14 easysw Exp $". // -- cgit v1.2.3