summaryrefslogtreecommitdiff
path: root/src/filename_list.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-04-13 19:13:14 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-04-13 19:13:14 +0000
commit022ba3679f3837eb551c587aa6001b95409e0955 (patch)
tree66c806b69f167913edb2ac4526dd8db572c0958f /src/filename_list.cxx
parentb8a8c98f04c752e69c17f2709c7496489b839611 (diff)
AIX changes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1430 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/filename_list.cxx')
-rw-r--r--src/filename_list.cxx7
1 files changed, 5 insertions, 2 deletions
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 $".
//