From 91b9fa574831b46a228d6faa052df15bb5a598e9 Mon Sep 17 00:00:00 2001 From: David Deakins Date: Sat, 24 Nov 2007 20:30:50 +0000 Subject: [PATCH] Define the BOOST_NO_SWPRINTF macro for WinCE. WinCE's CRT does not have a conforming swprintf signature. [SVN r41344] --- include/boost/config/compiler/visualc.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index 5bc9641b..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