From 3346a9fee75faff9b8087513204cb63cfcf8ec0c Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 14 Jul 2002 17:03:31 +0000 Subject: Change the Fl_Group current, add, and remove methods so they are no longer inline; this should make shared libraries work better on all platforms. Link FLUID against shared libraries, too, so that the installed fluid is also using shared libraries (still make a statically linked fluid for the build) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Export.H | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'FL/Fl_Export.H') diff --git a/FL/Fl_Export.H b/FL/Fl_Export.H index 3bdaab731..fb15a4e08 100644 --- a/FL/Fl_Export.H +++ b/FL/Fl_Export.H @@ -1,5 +1,5 @@ /* - * "$Id: Fl_Export.H,v 1.3.2.4 2002/07/11 22:43:52 matthiaswm Exp $" + * "$Id: Fl_Export.H,v 1.3.2.5 2002/07/14 17:03:30 easysw Exp $" * * WIN32 DLL export definitions for the Fast Light Tool Kit (FLTK). * @@ -27,11 +27,10 @@ # define Fl_Export_H /* - * The following is only used when building DLLs under WIN32 with Visual C++ - * or CodeWarrior... + * The following is only used when building DLLs under WIN32... */ -# if defined(FL_DLL) && ( defined(_MSC_VER) || defined(__MWERKS__) ) +# if defined(FL_DLL) && (defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__) || __GNUC__ >= 3) # ifdef FL_LIBRARY # define FL_EXPORT __declspec(dllexport) # else @@ -39,10 +38,10 @@ # endif /* FL_LIBRARY */ # else # define FL_EXPORT -# endif /* FL_DLL && ( _MSC_VER || __MWERKS__ ) */ +# endif /* FL_DLL */ #endif /* !Fl_Export_H */ /* - * End of "$Id: Fl_Export.H,v 1.3.2.4 2002/07/11 22:43:52 matthiaswm Exp $". + * End of "$Id: Fl_Export.H,v 1.3.2.5 2002/07/14 17:03:30 easysw Exp $". */ -- cgit v1.2.3