From e2c97fbb13d1ffb24a4f3a32909f106eafdf86a2 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 8 Nov 2004 12:24:18 +0000 Subject: [PATCH] Enable auto-linking for compilers other than MSVC. [SVN r26147] --- include/boost/regex/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/regex/config.hpp b/include/boost/regex/config.hpp index 838a3919..b7e4cd68 100644 --- a/include/boost/regex/config.hpp +++ b/include/boost/regex/config.hpp @@ -223,7 +223,7 @@ namespace boost{ typedef wchar_t regex_wchar_type; } # define BOOST_REGEX_DECL #endif -#if (defined(BOOST_MSVC) || defined(__BORLANDC__)) && !defined(BOOST_REGEX_NO_LIB) && !defined(BOOST_REGEX_SOURCE) && !defined(BOOST_ALL_NO_LIB) && defined(__cplusplus) +#if !defined(BOOST_REGEX_NO_LIB) && !defined(BOOST_REGEX_SOURCE) && !defined(BOOST_ALL_NO_LIB) && defined(__cplusplus) # define BOOST_LIB_NAME boost_regex # if defined(BOOST_REGEX_DYN_LINK) || defined(BOOST_ALL_DYN_LINK) # define BOOST_DYN_LINK