Improve vacpp support.
[boost.git] / boost / libs / config / test / boost_no_swprintf.ipp
blob4b3a460f834b8013e540ce37879419d6f4506801
1 //  (C) Copyright John Maddock 2001. 
2 //  Use, modification and distribution are subject to the 
3 //  Boost Software License, Version 1.0. (See accompanying file 
4 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //  See http://www.boost.org/libs/config for most recent version.
8 //  MACRO:         BOOST_NO_SWPRINTF
9 //  TITLE:         swprintf
10 //  DESCRIPTION:   The platform does not have a conforming version of swprintf.
12 #include <wchar.h>
13 #include <stdio.h>
16 namespace boost_no_swprintf{
18 int test()
20    wchar_t buf[10];
21    swprintf(buf, 10, L"%d", 10);
22    return 0;