mirror of
https://github.com/boostorg/regex.git
synced 2025-07-18 23:02:09 +02:00
Fixed Borland warning suppression.
Changed config to use BOOST_HAS_DECLSPEC [SVN r19781]
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user