From ef7108c5462f40211aed6c0366b104ebae670a41 Mon Sep 17 00:00:00 2001 From: Jonathan Turkanis Date: Mon, 30 May 2005 22:42:36 +0000 Subject: [PATCH] patch for CRAY X1 [SVN r29308] --- include/boost/iostreams/detail/config/wide_streams.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/boost/iostreams/detail/config/wide_streams.hpp b/include/boost/iostreams/detail/config/wide_streams.hpp index 8bae8ef..764a8ab 100755 --- a/include/boost/iostreams/detail/config/wide_streams.hpp +++ b/include/boost/iostreams/detail/config/wide_streams.hpp @@ -20,8 +20,11 @@ //------------------Templated stream support----------------------------------// -#ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES // From boost/dynamic_bitset.hpp. -# if defined(__STL_CONFIG_H) && !defined (__STL_USE_NEW_IOSTREAMS) +// From boost/dynamic_bitset.hpp; thanks to Matthias Troyer for cray patch. +#ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES +# if defined(__STL_CONFIG_H) && \ + !defined (__STL_USE_NEW_IOSTREAMS) && !defined(__crayx1) \ + /**/ # define BOOST_IOSTREAMS_NO_STREAM_TEMPLATES # endif #endif // #ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES