From c0f29f3dcae763d422b2b13c324767a1f193cd69 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 28 Aug 2003 12:04:26 +0000 Subject: [PATCH] Added BOOST_HAS_DECLSPEC define [SVN r19828] --- include/boost/config/platform/win32.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/boost/config/platform/win32.hpp b/include/boost/config/platform/win32.hpp index 89e36ba8..a78cdd32 100644 --- a/include/boost/config/platform/win32.hpp +++ b/include/boost/config/platform/win32.hpp @@ -13,6 +13,10 @@ # define BOOST_NO_SWPRINTF #endif +#if !defined(__GNUC__) && !defined(BOOST_HAS_DECLSPEC) +# define BOOST_HAS_DECLSPEC +#endif + // // Win32 will normally be using native Win32 threads, // but there is a pthread library avaliable as an option, @@ -70,3 +74,4 @@ namespace std{ using std::min; using std::max; # endif +