summaryrefslogtreecommitdiff
path: root/boost/random/detail/auto_link.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/random/detail/auto_link.hpp')
-rw-r--r--boost/random/detail/auto_link.hpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/boost/random/detail/auto_link.hpp b/boost/random/detail/auto_link.hpp
index 6b180cc71e..acbebdd4f0 100644
--- a/boost/random/detail/auto_link.hpp
+++ b/boost/random/detail/auto_link.hpp
@@ -13,13 +13,11 @@
#include <boost/config.hpp>
-#ifdef BOOST_HAS_DECLSPEC
- #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_RANDOM_DYN_LINK)
- #if defined(BOOST_RANDOM_SOURCE)
- #define BOOST_RANDOM_DECL __declspec(dllexport)
- #else
- #define BOOST_RANDOM_DECL __declspec(dllimport)
- #endif
+#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_RANDOM_DYN_LINK)
+ #if defined(BOOST_RANDOM_SOURCE)
+ #define BOOST_RANDOM_DECL BOOST_SYMBOL_EXPORT
+ #else
+ #define BOOST_RANDOM_DECL BOOST_SYMBOL_IMPORT
#endif
#endif