From 8136dfe6b5f0d1c288d36f496aaa11aa09c31177 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 19 Feb 1999 13:07:40 +0000 Subject: 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 --- src/filename_list.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 $". // -- cgit v1.2.3