summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-02-19 13:07:40 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-02-19 13:07:40 +0000
commit8136dfe6b5f0d1c288d36f496aaa11aa09c31177 (patch)
tree42115f5ef6271b6980c435c64216502ebaee95c2
parentb3ef28260e59a14e0bc8c2dd60bd1bc03782819f (diff)
Patch from Alexander Mai - Linux needs prototype hack just like AIX and
Unicos. git-svn-id: file:///fltk/svn/fltk/trunk@297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/filename_list.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filename_list.cxx b/src/filename_list.cxx
index 4029d42e7..6d6d90e1b 100644
--- a/src/filename_list.cxx
+++ b/src/filename_list.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: filename_list.cxx,v 1.8 1999/01/07 19:17:35 mike Exp $"
+// "$Id: filename_list.cxx,v 1.9 1999/02/19 13:07:40 mike Exp $"
//
// Filename list routines for the Fast Light Tool Kit (FLTK).
//
@@ -40,7 +40,7 @@ extern "C" {
}
int filename_list(const char *d, dirent ***list) {
-#if defined(_AIX) || defined(CRAY)
+#if defined(_AIX) || defined(CRAY) || defined(linux)
// on some systems you may need to do this, due to a rather common
// error in the prototype for the sorting function, where a level
// of pointer indirection is missing:
@@ -55,5 +55,5 @@ int filename_list(const char *d, dirent ***list) {
}
//
-// End of "$Id: filename_list.cxx,v 1.8 1999/01/07 19:17:35 mike Exp $".
+// End of "$Id: filename_list.cxx,v 1.9 1999/02/19 13:07:40 mike Exp $".
//