From e263e5f2fd2abfe0b60b113ecbe332bf761203eb Mon Sep 17 00:00:00 2001 From: Jeff Garland Date: Tue, 6 Jul 2004 01:46:40 +0000 Subject: [PATCH] windows regression fixes - 7.05 [SVN r23357] --- test/gregorian/testgreg_wstream.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/gregorian/testgreg_wstream.cpp b/test/gregorian/testgreg_wstream.cpp index 73460a6..6677a67 100644 --- a/test/gregorian/testgreg_wstream.cpp +++ b/test/gregorian/testgreg_wstream.cpp @@ -41,6 +41,7 @@ int main(){ ws = to_sql_wstring(dp.begin()); check("date to_sql_string", ws == res); wss.str(L""); +#ifndef BOOST_NO_STD_ITERATOR_TRAITS { res = L"2003-Aug-21"; std::wstringstream wss(L"2003-Aug-21"); @@ -48,6 +49,9 @@ int main(){ wss >> testdate; check("date operator>>", to_simple_wstring(testdate) == res); } +#else + check("no date operator>> for this compiler", false); +#endif // greg_month wss << dp.begin().month();