From 36f2f4977369f8a84ecf5524fa8c682003fecc3b Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Sun, 25 Nov 2007 18:07:19 +0000 Subject: [PATCH] Full merge from trunk at revision 41356 of entire boost-root tree. [SVN r41369] --- include/boost/config/compiler/visualc.hpp | 8 +++++++- include/boost/limits.hpp | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index 233fdb9f..198a7334 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -70,6 +70,11 @@ # define BOOST_NO_SWPRINTF #endif +#if defined(UNDER_CE) +// Windows CE does not have a conforming signature for swprintf +# define BOOST_NO_SWPRINTF +#endif + #if _MSC_VER <= 1400 // 1400 == VC++ 8.0 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS #endif @@ -82,9 +87,10 @@ # define BOOST_NO_INTRINSIC_WCHAR_T #endif -#ifdef _WIN32_WCE +#if defined(_WIN32_WCE) || defined(UNDER_CE) # define BOOST_NO_THREADEX # define BOOST_NO_GETSYSTEMTIMEASFILETIME +# define BOOST_NO_SWPRINTF #endif // diff --git a/include/boost/limits.hpp b/include/boost/limits.hpp index 370c0f21..6d01daa3 100644 --- a/include/boost/limits.hpp +++ b/include/boost/limits.hpp @@ -30,6 +30,8 @@ # define BOOST_ULLT ::boost::ulong_long_type #endif +#include // for CHAR_BIT + namespace std { template<>