diff options
Diffstat (limited to 'boost/mpi/python/config.hpp')
-rw-r--r-- | boost/mpi/python/config.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/mpi/python/config.hpp b/boost/mpi/python/config.hpp index 8bd0cdaf30..6126d955b2 100644 --- a/boost/mpi/python/config.hpp +++ b/boost/mpi/python/config.hpp @@ -20,12 +20,12 @@ * * *****************************************************************************/ -#if defined(BOOST_HAS_DECLSPEC) && (defined(BOOST_MPI_PYTHON_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && !defined(BOOST_MPI_PYTHON_STATIC_LINK) +#if (defined(BOOST_MPI_PYTHON_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && !defined(BOOST_MPI_PYTHON_STATIC_LINK) # if defined(BOOST_MPI_PYTHON_SOURCE) -# define BOOST_MPI_PYTHON_DECL __declspec(dllexport) +# define BOOST_MPI_PYTHON_DECL BOOST_SYMBOL_EXPORT # define BOOST_MPI_PYTHON_BUILD_DLL # else -# define BOOST_MPI_PYTHON_DECL __declspec(dllimport) +# define BOOST_MPI_PYTHON_DECL BOOST_SYMBOL_IMPORT # endif #endif |