From a1b668e61cdebd06430355ed485409a8e02e6a6c Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 6 Dec 2005 17:18:51 +0000 Subject: [PATCH] Update version check for latest and greatest version. [SVN r31937] --- include/boost/config/compiler/borland.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/config/compiler/borland.hpp b/include/boost/config/compiler/borland.hpp index 9fb12bd7..4c8a6e1c 100644 --- a/include/boost/config/compiler/borland.hpp +++ b/include/boost/config/compiler/borland.hpp @@ -163,8 +163,9 @@ # error "Compiler not supported or configured - please reconfigure" #endif // -// last known and checked version is 1536 (Builder X preview): -#if (__BORLANDC__ > 1536) +// last known and checked version is 1536 (Builder X preview) +// Or 0x580 (Borland C++ Builder 6 2006 Preview): +#if (__BORLANDC__ > 1536) || ((__BORLANDC__ < 0x600) && (__BORLANDC__ > 0x580)) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" # else @@ -179,3 +180,4 @@ +