From Pjotr Svetachov, build fixes for VisualStudio

This commit is contained in:
Robert Osfield
2014-05-15 14:45:28 +00:00
parent 85386daa25
commit d8a06f827e
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@
#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
# if defined( OSG_LIBRARY_STATIC )
# define OSGUI_EXPORT
# elif defined( OSGVIEWER_LIBRARY )
# elif defined( OSGUI_LIBRARY )
# define OSGUI_EXPORT __declspec(dllexport)
# else
# define OSGUI_EXPORT __declspec(dllimport)