Fixed Borland warning suppression.

Changed config to use BOOST_HAS_DECLSPEC


[SVN r19781]
This commit is contained in:
John Maddock
2003-08-26 10:49:41 +00:00
parent 2e1ed31f34
commit 51ef8177d3
7 changed files with 58 additions and 36 deletions

View File

@ -195,24 +195,7 @@ using std::distance;
*
****************************************************************************/
// backwards compatibility:
#ifdef BOOST_RE_STATIC_LIB
# define BOOST_REGEX_STATIC_LINK
#endif
#if defined(BOOST_MSVC) && defined(_DLL)
# define BOOST_REGEX_HAS_DLL_RUNTIME
#endif
#if defined(__BORLANDC__) && defined(_RTLDLL)
# define BOOST_REGEX_HAS_DLL_RUNTIME
#endif
#if (defined(__ICL) || defined(__COMO__)) && defined(_DLL)
# define BOOST_REGEX_HAS_DLL_RUNTIME
#endif
#if defined(BOOST_REGEX_HAS_DLL_RUNTIME) && defined(BOOST_REGEX_DYN_LINK) && !defined(BOOST_REGEX_STATIC_LINK)
#if defined(BOOST_HAS_DECLSPEC) && defined(BOOST_REGEX_DYN_LINK) && !defined(BOOST_REGEX_STATIC_LINK)
# if defined(BOOST_REGEX_SOURCE)
# define BOOST_REGEX_DECL __declspec(dllexport)
# define BOOST_REGEX_BUILD_DLL