From 3b988e278bee7e9ba276742b1c30412f75bede31 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 22 Jan 2018 03:19:35 +0200 Subject: [PATCH] Use BOOST_SYMBOL_EXPORT instead of __declspec --- test/single_instance_1.cpp | 4 ++-- test/single_instance_2.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/single_instance_1.cpp b/test/single_instance_1.cpp index 3bee8a8..7d6cd1b 100644 --- a/test/single_instance_1.cpp +++ b/test/single_instance_1.cpp @@ -4,8 +4,8 @@ #include -#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 diff --git a/test/single_instance_2.cpp b/test/single_instance_2.cpp index 6a3cc63..dba74a7 100644 --- a/test/single_instance_2.cpp +++ b/test/single_instance_2.cpp @@ -4,8 +4,8 @@ #include -#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