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