1168404Spjd// -*- C++ -*- forwarding header.
2168404Spjd
3168404Spjd// Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
4168404Spjd//
5168404Spjd// This file is part of the GNU ISO C++ Library.  This library is free
6168404Spjd// software; you can redistribute it and/or modify it under the
7168404Spjd// terms of the GNU General Public License as published by the
8168404Spjd// Free Software Foundation; either version 2, or (at your option)
9168404Spjd// any later version.
10168404Spjd
11168404Spjd// This library is distributed in the hope that it will be useful,
12168404Spjd// but WITHOUT ANY WARRANTY; without even the implied warranty of
13168404Spjd// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14168404Spjd// GNU General Public License for more details.
15168404Spjd
16168404Spjd// You should have received a copy of the GNU General Public License along
17168404Spjd// with this library; see the file COPYING.  If not, write to the Free
18168404Spjd// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19168404Spjd// USA.
20168404Spjd
21168404Spjd// As a special exception, you may use this file as part of a free software
22168404Spjd// library without restriction.  Specifically, if other files instantiate
23219089Spjd// templates or use macros or inline functions from this file, or you compile
24286708Smav// this file and link it with other files to produce an executable, this
25236145Smm// file does not by itself cause the resulting executable to be covered by
26236155Smm// the GNU General Public License.  This exception does not however
27254758Sdelphij// invalidate any other reasons why the executable file might be covered by
28296537Smav// the GNU General Public License.
29297763Smav
30324010Savg//
31168404Spjd// ISO C++ 14882: 21.4
32168404Spjd//
33168404Spjd
34168404Spjd#ifndef _GLIBCXX_CWCHAR
35168404Spjd#define _GLIBCXX_CWCHAR 1
36168404Spjd
37168404Spjd#pragma GCC system_header
38168404Spjd
39168404Spjd#include <bits/c++config.h>
40168404Spjd#include <cstddef>
41168404Spjd#include <ctime>
42168404Spjd
43168404Spjd#if _GLIBCXX_HAVE_WCHAR_H
44168404Spjd#include_next <wchar.h>
45168404Spjd#endif
46168404Spjd
47168404Spjd// Need to do a bit of trickery here with mbstate_t as char_traits
48168404Spjd// assumes it is in wchar.h, regardless of wchar_t specializations.
49185029Spjd#ifndef _GLIBCXX_HAVE_MBSTATE_T
50185029Spjdnamespace std
51168404Spjd{
52236155Smm  extern "C"
53168404Spjd  {
54168404Spjd    typedef struct
55168404Spjd    {
56168404Spjd      int __fill[6];
57168404Spjd    } mbstate_t;
58168404Spjd  }
59185029Spjd}
60236884Smm#endif
61168404Spjd
62219089Spjd#endif
63219089Spjd