3 * Copyright 2012, 2013 MinGW.org project
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
12 * The above copyright notice and this permission notice (including the next
13 * paragraph) shall be included in all copies or substantial portions of the
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
26 #pragma GCC system_header
30 * Functions and types for localization (ie. changing the appearance of
31 * output based on the standards of a certain country).
35 * NOTE: I have tried to test this, but I am limited by my knowledge of
36 * locale issues. The structure does not bomb if you look at the
37 * values, and 'decimal_point' even seems to be correct. But the
38 * rest of the values are, by default, not particularly useful
39 * (read meaningless and not related to the international settings
50 #define LC_MAX LC_TIME
54 /* According to C89 std, NULL is defined in locale.h too. */
59 * The structure returned by 'localeconv'.
66 char* int_curr_symbol;
67 char* currency_symbol;
68 char* mon_decimal_point;
69 char* mon_thousands_sep;
87 _CRTIMP char* __cdecl __MINGW_NOTHROW setlocale (int, const char*);
88 _CRTIMP struct lconv* __cdecl __MINGW_NOTHROW localeconv (void);
90 #ifndef _WLOCALE_DEFINED /* also declared in wchar.h */
91 # define __need_wchar_t
93 _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wsetlocale(int, const wchar_t*);
94 # define _WLOCALE_DEFINED
95 #endif /* ndef _WLOCALE_DEFINED */
101 #endif /* Not RC_INVOKED */
103 #endif /* Not _LOCALE_H */