From 66ddab7fae4dea0c0f7a903fca439dd98b8fff92 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 31 Oct 2002 12:13:56 +0000 Subject: [PATCH] Fixes for Intel C++ [SVN r16029] --- example/timer/regex_timer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/example/timer/regex_timer.cpp b/example/timer/regex_timer.cpp index f47c6ac9..c09a01f3 100644 --- a/example/timer/regex_timer.cpp +++ b/example/timer/regex_timer.cpp @@ -27,6 +27,7 @@ using std::ostream; using std::endl; using std::ifstream; using std::streambuf; +using std::getline; #endif #include @@ -38,8 +39,8 @@ using std::streambuf; #include #include -#ifdef BOOST_MSVC -// no Koenig lookup, use using declaration instead: +#if defined(_MSC_VER) && (_MSC_VER <= 1300) +// maybe no Koenig lookup, use using declaration instead: using namespace boost; #endif @@ -360,3 +361,4 @@ int main(int argc, char**argv) +