diff --git a/test/iterator_traits_test.cpp b/test/iterator_traits_test.cpp index 6a72e8f..3131d44 100644 --- a/test/iterator_traits_test.cpp +++ b/test/iterator_traits_test.cpp @@ -153,7 +153,7 @@ struct maybe_pointer_test input_iterator_test, int, std::ptrdiff_t, int*, int&, std::input_iterator_tag> istream_iterator_test; -#if defined(__BORLANDC__) && !defined(__SGI_STL_PORT) +#if BOOST_WORKAROUND(__BORLANDC__, <= 0x564) && !defined(__SGI_STL_PORT) typedef ::std::char_traits::off_type distance; non_pointer_test,int, distance,int*,int&,std::output_iterator_tag> ostream_iterator_test;