1 | /* |
2 | |
3 | Copyright 1991, 1998 The Open Group |
4 | |
5 | Permission to use, copy, modify, distribute, and sell this software and its |
6 | documentation for any purpose is hereby granted without fee, provided that |
7 | the above copyright notice appear in all copies and that both that |
8 | copyright notice and this permission notice appear in supporting |
9 | documentation. |
10 | |
11 | The above copyright notice and this permission notice shall be included |
12 | in all copies or substantial portions of the Software. |
13 | |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
15 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
17 | IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR |
18 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
19 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
20 | OTHER DEALINGS IN THE SOFTWARE. |
21 | |
22 | Except as contained in this notice, the name of The Open Group shall |
23 | not be used in advertising or otherwise to promote the sale, use or |
24 | other dealings in this Software without prior written authorization |
25 | from The Open Group. |
26 | |
27 | */ |
28 | |
29 | #ifndef _X11_XLOCALE_H_ |
30 | #define _X11_XLOCALE_H_ |
31 | |
32 | #include <X11/Xfuncproto.h> |
33 | #include <X11/Xosdefs.h> |
34 | |
35 | #ifndef X_LOCALE |
36 | #include <locale.h> |
37 | #else |
38 | |
39 | #define LC_ALL 0 |
40 | #define LC_COLLATE 1 |
41 | #define LC_CTYPE 2 |
42 | #define LC_MONETARY 3 |
43 | #define LC_NUMERIC 4 |
44 | #define LC_TIME 5 |
45 | |
46 | _XFUNCPROTOBEGIN |
47 | extern char *_Xsetlocale( |
48 | int /* category */, |
49 | _Xconst char* /* name */ |
50 | ); |
51 | _XFUNCPROTOEND |
52 | |
53 | #define setlocale _Xsetlocale |
54 | |
55 | #include <stddef.h> |
56 | |
57 | #endif /* X_LOCALE */ |
58 | |
59 | #endif /* _X11_XLOCALE_H_ */ |
60 | |