Added support for BOOST_ALL_DYN_LINK

[SVN r20802]
This commit is contained in:
John Maddock
2003-11-13 12:17:49 +00:00
parent 7ba011232c
commit d0258375ae

View File

@ -206,7 +206,7 @@ namespace boost{ typedef wchar_t regex_wchar_type; }
* *
****************************************************************************/ ****************************************************************************/
#if defined(BOOST_HAS_DECLSPEC) && defined(BOOST_REGEX_DYN_LINK) && !defined(BOOST_REGEX_STATIC_LINK) #if defined(BOOST_HAS_DECLSPEC) && (defined(BOOST_REGEX_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && !defined(BOOST_REGEX_STATIC_LINK)
# if defined(BOOST_REGEX_SOURCE) # if defined(BOOST_REGEX_SOURCE)
# define BOOST_REGEX_DECL __declspec(dllexport) # define BOOST_REGEX_DECL __declspec(dllexport)
# define BOOST_REGEX_BUILD_DLL # define BOOST_REGEX_BUILD_DLL
@ -219,9 +219,9 @@ namespace boost{ typedef wchar_t regex_wchar_type; }
# define BOOST_REGEX_DECL # define BOOST_REGEX_DECL
#endif #endif
#if (defined(BOOST_MSVC) || defined(__BORLANDC__)) && !defined(BOOST_REGEX_NO_LIB) && !defined(BOOST_REGEX_SOURCE) #if (defined(BOOST_MSVC) || defined(__BORLANDC__)) && !defined(BOOST_REGEX_NO_LIB) && !defined(BOOST_REGEX_SOURCE) && !defined(BOOST_ALL_NO_LIB)
# define BOOST_LIB_NAME boost_regex # define BOOST_LIB_NAME boost_regex
# ifdef BOOST_REGEX_DYN_LINK # if defined(BOOST_REGEX_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)
# define BOOST_DYN_LINK # define BOOST_DYN_LINK
# endif # endif
#ifdef BOOST_REGEX_DIAG #ifdef BOOST_REGEX_DIAG