From 629f32738284d715f29f3786b3268a821823945d Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 17 Jul 2002 15:23:58 +0000 Subject: Use parenthesis for "#if defined foo" -> "#if defined(foo)" - portability. Use ANSI C comments in flstring.h, which is included from both C++ and C code. Move prototypes for OSX inside existing "C" wrapper in flstring.h. Simplify M_PI and M_SQRT2 definitions in FL/math.h; no need to define them twice... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2537 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Browser.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/Fl_File_Browser.cxx') diff --git a/src/Fl_File_Browser.cxx b/src/Fl_File_Browser.cxx index 711ac5b14..f1ae2023b 100644 --- a/src/Fl_File_Browser.cxx +++ b/src/Fl_File_Browser.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_File_Browser.cxx,v 1.1.2.19 2002/07/17 06:09:25 matthiaswm Exp $" +// "$Id: Fl_File_Browser.cxx,v 1.1.2.20 2002/07/17 15:23:58 easysw Exp $" // // Fl_File_Browser routines. // @@ -62,12 +62,13 @@ # include #endif // __EMX__ -// CodeWarrior (__MWERKS__) gets its include paths confused, so we temporarily disable this +// CodeWarrior (__MWERKS__) gets its include paths confused, so we +// temporarily disable this... #if defined(__APPLE__) && !defined(__MWERKS__) # include # include # include -#endif // __APPLE__ +#endif // __APPLE__ && !__MWERKS__ // @@ -644,5 +645,5 @@ Fl_File_Browser::filter(const char *pattern) // I - Pattern string // -// End of "$Id: Fl_File_Browser.cxx,v 1.1.2.19 2002/07/17 06:09:25 matthiaswm Exp $". +// End of "$Id: Fl_File_Browser.cxx,v 1.1.2.20 2002/07/17 15:23:58 easysw Exp $". // -- cgit v1.2.3