From 24a881ef85684029eeb5d753649031f8a32a590c Mon Sep 17 00:00:00 2001 From: Jonathan Turkanis Date: Mon, 30 May 2005 22:45:23 +0000 Subject: [PATCH] CRAY X1 patch [SVN r29309] --- include/boost/range/iterator_range.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/boost/range/iterator_range.hpp b/include/boost/range/iterator_range.hpp index 4036e30..75727a1 100755 --- a/include/boost/range/iterator_range.hpp +++ b/include/boost/range/iterator_range.hpp @@ -11,9 +11,12 @@ #ifndef BOOST_RANGE_ITERATOR_RANGE_HPP #define BOOST_RANGE_ITERATOR_RANGE_HPP +// From boost/dynamic_bitset.hpp; thanks to Matthias Troyer for Cray X1 patch. #include // Define __STL_CONFIG_H, if appropriate. -#ifndef BOOST_OLD_IOSTREAMS // From boost/dynamic_bitset.hpp. -# if defined(__STL_CONFIG_H) && !defined (__STL_USE_NEW_IOSTREAMS) +#ifndef BOOST_OLD_IOSTREAMS +# if defined(__STL_CONFIG_H) && \ + !defined (__STL_USE_NEW_IOSTREAMS) && !defined(__crayx1) \ + /**/ # define BOOST_OLD_IOSTREAMS # endif #endif // #ifndef BOOST_OLD_IOSTREAMS