Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / mpi / python / config.hpp
index 8bd0cda..6126d95 100644 (file)
  *                                                                           *
  *****************************************************************************/
 
-#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