From d244d063ffef2b208bc0659909f0cf31feff795a Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 6 Dec 2000 15:45:13 +0000 Subject: APIENTRY doesn't need to be used for the font pointers in glut.H APIENTRY should appear between the return type and function name. WIN32 is defined by MSVC++, not _WIN32. Updated the sources to work with both. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_file_chooser.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fl_file_chooser.cxx') diff --git a/src/fl_file_chooser.cxx b/src/fl_file_chooser.cxx index 1dc390ce3..22f55bdf3 100644 --- a/src/fl_file_chooser.cxx +++ b/src/fl_file_chooser.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_file_chooser.cxx,v 1.10.2.6 2000/08/20 04:35:16 spitzak Exp $" +// "$Id: fl_file_chooser.cxx,v 1.10.2.7 2000/12/06 15:45:13 easysw Exp $" // // File chooser widget for the Fast Light Tool Kit (FLTK). // @@ -231,7 +231,7 @@ int FCB::get(char* buf) { for (dirent** r = q+1; n && r < last; r++) { if (!item_height(*r, 0)) continue; int i; -#ifdef _WIN32 +#if defined(_WIN32) || defined(WIN32) for (i=0; id_name[i])==tolower((*r)->d_name[i]); i++) {} #else for (i=0; id_name[i]==(*r)->d_name[i]; i++) {} @@ -632,5 +632,5 @@ char* fl_file_chooser(const char* message, const char* pat, const char* fname) } // -// End of "$Id: fl_file_chooser.cxx,v 1.10.2.6 2000/08/20 04:35:16 spitzak Exp $". +// End of "$Id: fl_file_chooser.cxx,v 1.10.2.7 2000/12/06 15:45:13 easysw Exp $". // -- cgit v1.2.3