diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-02-19 13:52:33 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-02-19 13:52:33 +0000 |
| commit | 1bf7ee1dac851596af7cac56c6d149d07c7fabe0 (patch) | |
| tree | 789e00e8ddb087671af38cb66d5e22f2dcaa2b1c | |
| parent | d5bcde4f4840187b01c4d2438178c21380ce4b97 (diff) | |
Updated header files to only use FL_DLL stuff when compiled
with VC++.
git-svn-id: file:///fltk/svn/fltk/trunk@300 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/Enumerations.H | 10 | ||||
| -rw-r--r-- | FL/filename.H | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 18dc3baba..4449c73d0 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -1,5 +1,5 @@ // -// "$Id: Enumerations.H,v 1.15 1999/02/18 22:07:38 mike Exp $" +// "$Id: Enumerations.H,v 1.16 1999/02/19 13:52:33 mike Exp $" // // Enumerations for the Fast Light Tool Kit (FLTK). // @@ -27,10 +27,10 @@ #define Fl_Enumerations_H // -// The following is only used when building DLLs under WIN32 or OS/2... +// The following is only used when building DLLs under WIN32 with Visual C++... // -#ifdef FL_DLL +#if defined(FL_DLL) && defined(_MSC_VER) # ifdef FL_LIBRARY # define FL_EXPORT __declspec(dllexport) # define FL_IMPORT __declspec(dllimport) @@ -41,7 +41,7 @@ #else # define FL_EXPORT # define FL_IMPORT -#endif /* FL_DLL */ +#endif /* FL_DLL && _MSC_VER */ // // The FLTK version number; this is changed slightly from the beta versions @@ -368,5 +368,5 @@ enum Fl_Damage { #endif // -// End of "$Id: Enumerations.H,v 1.15 1999/02/18 22:07:38 mike Exp $". +// End of "$Id: Enumerations.H,v 1.16 1999/02/19 13:52:33 mike Exp $". // diff --git a/FL/filename.H b/FL/filename.H index 4ae28207a..13ef9ee34 100644 --- a/FL/filename.H +++ b/FL/filename.H @@ -1,5 +1,5 @@ // -// "$Id: filename.H,v 1.9 1999/02/18 22:07:39 mike Exp $" +// "$Id: filename.H,v 1.10 1999/02/19 13:52:33 mike Exp $" // // Filename header file for the Fast Light Tool Kit (FLTK). // @@ -27,10 +27,10 @@ #define FL_FILENAME_H // -// The following is only used when building DLLs under WIN32 or OS/2... +// The following is only used when building DLLs under WIN32 with Visual C++... // -#ifdef FL_DLL +#if defined(FL_DLL) && defined(_MSC_VER) # ifdef FL_LIBRARY # define FL_EXPORT __declspec(dllexport) # define FL_IMPORT __declspec(dllimport) @@ -41,7 +41,7 @@ #else # define FL_EXPORT # define FL_IMPORT -#endif /* FL_DLL */ +#endif /* FL_DLL && _MSC_VER */ #define FL_PATH_MAX 256 // all buffers are this length @@ -79,5 +79,5 @@ FL_EXPORT int filename_list(const char *d, struct dirent ***list); #endif // -// End of "$Id: filename.H,v 1.9 1999/02/18 22:07:39 mike Exp $". +// End of "$Id: filename.H,v 1.10 1999/02/19 13:52:33 mike Exp $". // |
