1178476Sjb// -*- C++ -*- forwarding header.
2178476Sjb
3178476Sjb// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4178476Sjb// Free Software Foundation, Inc.
5178476Sjb//
6178476Sjb// This file is part of the GNU ISO C++ Library.  This library is free
7178476Sjb// software; you can redistribute it and/or modify it under the
8178476Sjb// terms of the GNU General Public License as published by the
9178476Sjb// Free Software Foundation; either version 2, or (at your option)
10178476Sjb// any later version.
11178476Sjb
12178476Sjb// This library is distributed in the hope that it will be useful,
13178476Sjb// but WITHOUT ANY WARRANTY; without even the implied warranty of
14178476Sjb// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15178476Sjb// GNU General Public License for more details.
16178476Sjb
17178476Sjb// You should have received a copy of the GNU General Public License along
18178476Sjb// with this library; see the file COPYING.  If not, write to the Free
19178476Sjb// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
20178476Sjb// USA.
21178476Sjb
22178476Sjb// As a special exception, you may use this file as part of a free software
23178476Sjb// library without restriction.  Specifically, if other files instantiate
24178476Sjb// templates or use macros or inline functions from this file, or you compile
25178476Sjb// this file and link it with other files to produce an executable, this
26178476Sjb// file does not by itself cause the resulting executable to be covered by
27178476Sjb// the GNU General Public License.  This exception does not however
28178476Sjb// invalidate any other reasons why the executable file might be covered by
29178476Sjb// the GNU General Public License.
30178476Sjb
31178476Sjb//
32178476Sjb// ISO C++ 14882: 18.2.2  Implementation properties: C library
33178476Sjb//
34178476Sjb
35178476Sjb/** @file clocale
36178476Sjb *  This is a Standard C++ Library file.  You should @c #include this file
37178476Sjb *  in your programs, rather than any of the "*.h" implementation files.
38178476Sjb *
39178476Sjb *  This is the C++ version of the Standard C Library header @c locale.h,
40178476Sjb *  and its contents are (mostly) the same as that header, but are all
41178476Sjb *  contained in the namespace @c std (except for names which are defined
42178476Sjb *  as macros in C).
43178476Sjb */
44178476Sjb
45178476Sjb#ifndef _GLIBCXX_CLOCALE
46178476Sjb#define _GLIBCXX_CLOCALE 1
47178476Sjb
48178476Sjb#pragma GCC system_header
49178476Sjb
50178476Sjb#include <locale.h>
51178476Sjb
52178476Sjb// Get rid of those macros defined in <locale.h> in lieu of real functions.
53178476Sjb#undef setlocale
54178476Sjb#undef localeconv
55178476Sjb
56178476Sjbnamespace std
57178476Sjb{
58178476Sjb  using ::lconv;
59178476Sjb  using ::setlocale;
60178476Sjb  using ::localeconv;
61178476Sjb}
62178476Sjb
63178476Sjb#endif
64178476Sjb