From 81f404ec694f93be69b417cbd29f3c91b05f221d Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 24 Aug 2002 11:56:11 +0000 Subject: [PATCH] Disabled automatic lib selection on non-windows platforms for Borland [SVN r15080] --- include/boost/regex/config.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/boost/regex/config.hpp b/include/boost/regex/config.hpp index 84eb058d..b7ad0d1a 100644 --- a/include/boost/regex/config.hpp +++ b/include/boost/regex/config.hpp @@ -52,6 +52,15 @@ # if !defined(__CONSOLE__) && !defined(_NO_VCL) # define BOOST_REGEX_USE_VCL # endif + // + // if this isn't Win32 then don't automatically select link + // libraries: + // +# ifndef _Windows +# define BOOST_REGEX_NO_LIB +# define BOOST_REGEX_STATIC_LINK +# endif + #endif /***************************************************************************** @@ -629,3 +638,4 @@ inline void pointer_construct(T* p, const T& t) +