Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4680 | right-hear | 1 | /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */ |
2 | /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ |
||
3 | #ifndef __dj_include_wctype_h_ |
||
4 | #define __dj_include_wctype_h_ |
||
5 | |||
6 | /* Bare bones header to satisfy SGI STL's basic_string<> */ |
||
7 | |||
8 | #ifdef __cplusplus |
||
9 | extern "C" { |
||
10 | #endif |
||
11 | |||
12 | #ifndef __dj_ENFORCE_ANSI_FREESTANDING |
||
13 | |||
14 | #include |
||
15 | |||
16 | __DJ_wchar_t |
||
17 | #undef __DJ_wchar_t |
||
18 | #define __DJ_wchar_t |
||
19 | __DJ_wint_t |
||
20 | #undef __DJ_wint_t |
||
21 | #define __DJ_wint_t |
||
22 | |||
23 | #ifndef WEOF |
||
24 | #define WEOF ((wint_t)(-1)) |
||
25 | #endif |
||
26 | |||
27 | /* Implementation defined types */ |
||
28 | typedef unsigned short wctype_t; |
||
29 | typedef const unsigned char *wctrans_t; |
||
30 | |||
31 | #ifndef __STRICT_ANSI__ |
||
32 | |||
33 | #ifndef _POSIX_SOURCE |
||
34 | |||
35 | #endif /* !_POSIX_SOURCE */ |
||
36 | #endif /* !__STRICT_ANSI__ */ |
||
37 | #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */ |
||
38 | |||
39 | #ifndef __dj_ENFORCE_FUNCTION_CALLS |
||
40 | #endif /* !__dj_ENFORCE_FUNCTION_CALLS */ |
||
41 | |||
42 | #ifdef __cplusplus |
||
43 | } |
||
44 | #endif |
||
45 | |||
46 | #endif /* !__dj_include_wctype_h_ */> |
||
47 |