100db7afdSDavid E. O'Brien // -*- C++ -*- forwarding header. 200db7afdSDavid E. O'Brien 3ffeaf689SAlexander Kabaev // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc. 400db7afdSDavid E. O'Brien // 500db7afdSDavid E. O'Brien // This file is part of the GNU ISO C++ Library. This library is free 600db7afdSDavid E. O'Brien // software; you can redistribute it and/or modify it under the 700db7afdSDavid E. O'Brien // terms of the GNU General Public License as published by the 800db7afdSDavid E. O'Brien // Free Software Foundation; either version 2, or (at your option) 900db7afdSDavid E. O'Brien // any later version. 1000db7afdSDavid E. O'Brien 1100db7afdSDavid E. O'Brien // This library is distributed in the hope that it will be useful, 1200db7afdSDavid E. O'Brien // but WITHOUT ANY WARRANTY; without even the implied warranty of 1300db7afdSDavid E. O'Brien // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1400db7afdSDavid E. O'Brien // GNU General Public License for more details. 1500db7afdSDavid E. O'Brien 1600db7afdSDavid E. O'Brien // You should have received a copy of the GNU General Public License along 1700db7afdSDavid E. O'Brien // with this library; see the file COPYING. If not, write to the Free 18*f8a1b7d9SAlexander Kabaev // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 1900db7afdSDavid E. O'Brien // USA. 2000db7afdSDavid E. O'Brien 2100db7afdSDavid E. O'Brien // As a special exception, you may use this file as part of a free software 2200db7afdSDavid E. O'Brien // library without restriction. Specifically, if other files instantiate 2300db7afdSDavid E. O'Brien // templates or use macros or inline functions from this file, or you compile 2400db7afdSDavid E. O'Brien // this file and link it with other files to produce an executable, this 2500db7afdSDavid E. O'Brien // file does not by itself cause the resulting executable to be covered by 2600db7afdSDavid E. O'Brien // the GNU General Public License. This exception does not however 2700db7afdSDavid E. O'Brien // invalidate any other reasons why the executable file might be covered by 2800db7afdSDavid E. O'Brien // the GNU General Public License. 2900db7afdSDavid E. O'Brien 3000db7afdSDavid E. O'Brien // 3100db7afdSDavid E. O'Brien // ISO C++ 14882: 21.4 3200db7afdSDavid E. O'Brien // 3300db7afdSDavid E. O'Brien 34ffeaf689SAlexander Kabaev #ifndef _GLIBCXX_CWCHAR 35ffeaf689SAlexander Kabaev #define _GLIBCXX_CWCHAR 1 3600db7afdSDavid E. O'Brien 3700db7afdSDavid E. O'Brien #pragma GCC system_header 3800db7afdSDavid E. O'Brien 39ca6500fcSAlexander Kabaev #include <bits/c++config.h> 40ca6500fcSAlexander Kabaev #include <cstddef> 41ca6500fcSAlexander Kabaev #include <ctime> 42ca6500fcSAlexander Kabaev 43ffeaf689SAlexander Kabaev #if _GLIBCXX_HAVE_WCHAR_H 4400db7afdSDavid E. O'Brien #include_next <wchar.h> 45ca6500fcSAlexander Kabaev #endif 46ca6500fcSAlexander Kabaev 47ca6500fcSAlexander Kabaev // Need to do a bit of trickery here with mbstate_t as char_traits 48ca6500fcSAlexander Kabaev // assumes it is in wchar.h, regardless of wchar_t specializations. 49ffeaf689SAlexander Kabaev #ifndef _GLIBCXX_HAVE_MBSTATE_T 50ca6500fcSAlexander Kabaev namespace std 51ca6500fcSAlexander Kabaev { 52ca6500fcSAlexander Kabaev extern "C" 53ca6500fcSAlexander Kabaev { 54ca6500fcSAlexander Kabaev typedef struct 55ca6500fcSAlexander Kabaev { 56ca6500fcSAlexander Kabaev int __fill[6]; 57ca6500fcSAlexander Kabaev } mbstate_t; 58ca6500fcSAlexander Kabaev } 59ca6500fcSAlexander Kabaev } 60ca6500fcSAlexander Kabaev #endif 6100db7afdSDavid E. O'Brien 6200db7afdSDavid E. O'Brien #endif 63