Skip to content

Commit

Permalink
Updated DLL definitions for VC++ 6.0 - now define "FL_STATIC"
Browse files Browse the repository at this point in the history
for static library to avoid warnings & errors.


git-svn-id: file:///fltk/svn/fltk/trunk@286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
michaelrsweet committed Feb 18, 1999
1 parent 0404ded commit 55d8e36
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions FL/Enumerations.H
@@ -1,5 +1,5 @@
//
// "$Id: Enumerations.H,v 1.12 1999/02/16 21:59:33 mike Exp $"
// "$Id: Enumerations.H,v 1.13 1999/02/18 03:20:31 mike Exp $"
//
// Enumerations for the Fast Light Tool Kit (FLTK).
//
Expand Down Expand Up @@ -34,6 +34,9 @@
# ifdef FL_DLL
# define FL_EXPORT __declspec(dllexport)
# define FL_IMPORT __declspec(dllimport)
# elif defined(FL_STATIC)
# define FL_EXPORT
# define FL_IMPORT
# else
# define FL_EXPORT __declspec(dllimport)
# define FL_IMPORT __declspec(dllexport)
Expand Down Expand Up @@ -368,5 +371,5 @@ enum Fl_Damage {
#endif

//
// End of "$Id: Enumerations.H,v 1.12 1999/02/16 21:59:33 mike Exp $".
// End of "$Id: Enumerations.H,v 1.13 1999/02/18 03:20:31 mike Exp $".
//
7 changes: 5 additions & 2 deletions FL/filename.H
@@ -1,5 +1,5 @@
//
// "$Id: filename.H,v 1.6 1999/02/16 21:59:47 mike Exp $"
// "$Id: filename.H,v 1.7 1999/02/18 03:20:32 mike Exp $"
//
// Filename header file for the Fast Light Tool Kit (FLTK).
//
Expand Down Expand Up @@ -34,6 +34,9 @@
# ifdef FL_DLL
# define FL_EXPORT __declspec(dllexport)
# define FL_IMPORT __declspec(dllimport)
# elif defined(FL_STATIC)
# define FL_EXPORT
# define FL_IMPORT
# else
# define FL_EXPORT __declspec(dllimport)
# define FL_IMPORT __declspec(dllexport)
Expand Down Expand Up @@ -79,5 +82,5 @@ FL_EXPORT int filename_list(const char *d, struct dirent ***list);
#endif

//
// End of "$Id: filename.H,v 1.6 1999/02/16 21:59:47 mike Exp $".
// End of "$Id: filename.H,v 1.7 1999/02/18 03:20:32 mike Exp $".
//

0 comments on commit 55d8e36

Please sign in to comment.