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) 5 6// See http://www.boost.org/libs/config for most recent version. 7 8// MACRO: BOOST_NO_SWPRINTF 9// TITLE: swprintf 10// DESCRIPTION: The platform does not have a conforming version of swprintf. 11 12#include <wchar.h> 13#include <stdio.h> 14 15 16namespace boost_no_swprintf{ 17 18int test() 19{ 20 wchar_t buf[10]; 21 swprintf(buf, 10, L"%d", 10); 22 return 0; 23} 24 25} 26 27 28 29 30 31 32