diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-07-17 15:23:58 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-07-17 15:23:58 +0000 |
| commit | 629f32738284d715f29f3786b3268a821823945d (patch) | |
| tree | 44b5257b395bd2b23dc9272251104c32fd077eed /src/Fl_File_Browser.cxx | |
| parent | dfefc7b244c493ee7c90329882c7f76156f09fae (diff) | |
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
Diffstat (limited to 'src/Fl_File_Browser.cxx')
| -rw-r--r-- | src/Fl_File_Browser.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
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 <os2.h> #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 <sys/param.h> # include <sys/ucred.h> # include <sys/mount.h> -#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 $". // |
