From 52a0dc9a1444e3c986d6cdc9da06c392d722b812 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 23 May 2002 11:41:10 +0000 Subject: [PATCH] Hopefully fixed Intel C++ on linux by adding BOOST_NO_STDC_NAMESPACE (the C++ headers for this compiler seem to do an incomplete job of importing C functions into std:: as per usual). [SVN r14018] --- include/boost/config/platform/linux.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/config/platform/linux.hpp b/include/boost/config/platform/linux.hpp index 61fb23c2..70b1129a 100644 --- a/include/boost/config/platform/linux.hpp +++ b/include/boost/config/platform/linux.hpp @@ -32,6 +32,13 @@ # define BOOST_NO_STDC_NAMESPACE #endif +// +// Intel on linux doesn't have swprintf in std:: +// +#ifdef __ICC +# define BOOST_NO_STDC_NAMESPACE +#endif + // // If glibc is past version 2 then we definitely have // gettimeofday, earlier versions may or may not have it: