]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/config/test/boost_no_cwchar.ipp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / config / test / boost_no_cwchar.ipp
CommitLineData
7c673cae
FG
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_CWCHAR
9// TITLE: <wchar.h> and <cwchar>
10// DESCRIPTION: The Platform does not provide <wchar.h> and <cwchar>.
11
12#include <cwchar>
13#include <wchar.h>
14
15namespace boost_no_cwchar{
16
17int test()
18{
19 wchar_t c1[2] = { 0 };
20 wchar_t c2[2] = { 0 };
21 if(wcscmp(c1,c2) || wcslen(c1)) return -1;
b32b8144 22 //wcscpy(c1,c2);
7c673cae
FG
23 wcsxfrm(c1,c2,0);
24 return 0;
25}
26
27}
28
29
30
31
32
33