summaryrefslogtreecommitdiff
path: root/FL/Fl_Export.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-07-14 17:03:31 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-07-14 17:03:31 +0000
commit3346a9fee75faff9b8087513204cb63cfcf8ec0c (patch)
tree9d047b2a883c283ebca058e3872758aa8c39a69c /FL/Fl_Export.H
parent8e2ff295008e2319e01df604a7c8e382924b22cd (diff)
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
Diffstat (limited to 'FL/Fl_Export.H')
-rw-r--r--FL/Fl_Export.H11
1 files changed, 5 insertions, 6 deletions
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 $".
*/