From Chris Hanson, "The following files are drop-in replacements for the include/*/Export files to permit

building statically linked osg libraries under Win32."
This commit is contained in:
Robert Osfield
2005-09-28 14:05:05 +00:00
parent 97f6a82b1e
commit f26c3da074
11 changed files with 33 additions and 11 deletions

View File

@@ -16,7 +16,9 @@
#define OSGFX_EXPORT_
#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
# ifdef OSGFX_LIBRARY
# if defined( _LIB ) || defined( USE_STATIC )
# define OSGFX_EXPORT
# elif defined( OSGFX_LIBRARY )
# define OSGFX_EXPORT __declspec(dllexport)
# else
# define OSGFX_EXPORT __declspec(dllimport)