diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-31 03:52:38 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-31 03:52:38 +0000 |
commit | 3363199f5b126d2f0305a57f6a61fb2dd8007e10 (patch) | |
tree | 04498fea38eb3d91e455fc1cca91c8879140daeb /externals/grill/flext/source/flprefix.h | |
parent | b3cfaffbe0124254f5da70857f6c1cec59184897 (diff) |
optimized AtomList functions
moved FLEXT_SHARE definition
smaller changes to TableMap
enhancements and more features for TableMap type
new: FLEXT_WARN, FLEXT_ERROR macros
svn path=/trunk/; revision=2653
Diffstat (limited to 'externals/grill/flext/source/flprefix.h')
-rwxr-xr-x | externals/grill/flext/source/flprefix.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/externals/grill/flext/source/flprefix.h b/externals/grill/flext/source/flprefix.h index d7921d94..4b3e96fb 100755 --- a/externals/grill/flext/source/flprefix.h +++ b/externals/grill/flext/source/flprefix.h @@ -372,6 +372,27 @@ WARRANTIES, see the file, "license.txt," in this distribution. #define FLEXT_CLASSDEF(CL) CL##_single #endif + +/* Set the right calling convention (and exporting) for the OS */ + +#ifdef _MSC_VER + #ifdef FLEXT_SHARED + // for compiling a shared flext library FLEXT_EXPORTS must be defined + #ifdef FLEXT_EXPORTS + #define FLEXT_SHARE __declspec(dllexport) + #else + #define FLEXT_SHARE __declspec(dllimport) + #endif + #else + #define FLEXT_SHARE + #endif + #define FLEXT_EXT __declspec(dllexport) +#else // other OS's + #define FLEXT_SHARE + #define FLEXT_EXT +#endif + + // std namespace #ifdef __MWERKS__ #define STD std |