diff --git a/include/osg/Export b/include/osg/Export index 2c56e2de3..c8b43365f 100644 --- a/include/osg/Export +++ b/include/osg/Export @@ -12,7 +12,7 @@ #pragma warning( disable : 4786 ) #endif -#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) +#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) # ifdef SG_LIBRARY # define SG_EXPORT __declspec(dllexport) # else diff --git a/include/osgDB/Export b/include/osgDB/Export index c4f2649ba..56133eff3 100644 --- a/include/osgDB/Export +++ b/include/osgDB/Export @@ -13,7 +13,7 @@ #endif -#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) +#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) # ifdef OSGDB_LIBRARY # define OSGDB_EXPORT __declspec(dllexport) # else diff --git a/include/osgGLUT/Export b/include/osgGLUT/Export index 43791235c..b49a9d489 100644 --- a/include/osgGLUT/Export +++ b/include/osgGLUT/Export @@ -13,7 +13,7 @@ #pragma warning( disable : 4786 ) #endif -#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) +#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) # ifdef OSGGLUT_LIBRARY # define OSGGLUT_EXPORT __declspec(dllexport) # else diff --git a/include/osgText/Export b/include/osgText/Export index 41bb5ae05..0b710b438 100644 --- a/include/osgText/Export +++ b/include/osgText/Export @@ -13,7 +13,7 @@ #endif -#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) +#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) # ifdef OSGTEXT_LIBRARY # define OSGTEXT_EXPORT __declspec(dllexport) # else diff --git a/include/osgUtil/Export b/include/osgUtil/Export index da7a6f55d..950459d06 100644 --- a/include/osgUtil/Export +++ b/include/osgUtil/Export @@ -13,7 +13,7 @@ #pragma warning( disable : 4786 ) #endif -#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) +#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) # ifdef OSGUTIL_LIBRARY # define OSGUTIL_EXPORT __declspec(dllexport) # else diff --git a/include/osgWX/Export b/include/osgWX/Export index a13925471..83d6155c7 100644 --- a/include/osgWX/Export +++ b/include/osgWX/Export @@ -13,7 +13,7 @@ #pragma warning( disable : 4786 ) #endif -#if defined(_MSC_VER) +#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) # ifdef OSGWX_LIBRARY # define OSGWX_EXPORT __declspec(dllexport) # else