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 @@ +