Use BOOST_SYMBOL_EXPORT instead of __declspec

This commit is contained in:
Peter Dimov
2018-01-22 03:19:35 +02:00
parent 6e87e44858
commit 3b988e278b
2 changed files with 4 additions and 4 deletions

View File

@ -4,8 +4,8 @@
#include <boost/config.hpp>
#if defined(SINGLE_INSTANCE_DYN_LINK) && defined(BOOST_HAS_DECLSPEC)
# define EXPORT __declspec(dllexport)
#if defined(SINGLE_INSTANCE_DYN_LINK)
# define EXPORT BOOST_SYMBOL_EXPORT
#else
# define EXPORT
#endif

View File

@ -4,8 +4,8 @@
#include <boost/config.hpp>
#if defined(SINGLE_INSTANCE_DYN_LINK) && defined(BOOST_HAS_DECLSPEC)
# define EXPORT __declspec(dllexport)
#if defined(SINGLE_INSTANCE_DYN_LINK)
# define EXPORT BOOST_SYMBOL_EXPORT
#else
# define EXPORT
#endif