|
|
1.1 root 1: #ifndef __COMMON__WCHAR_H__
2: #define __COMMON__WCHAR_H__
3:
4: /*
5: * This internal header file is intended as the sole point of definition for
6: * the ISO C data type 'wchar_t'. This type is defined as being exported from
7: * several standard headers, and for maintainability the definition has been
8: * centralized here.
9: *
10: * The 'wchar_t' data type should be the size of the compiler's wide-character
11: * constants. Especially likely candidates for encodings are UCS-2 (aka
12: * Unicode) and UCS-4.
13: */
14:
15: #include <common/feature.h>
16:
17: #if __COHERENT__
18:
19: typedef unsigned short wchar_t;
20:
21: #else
22:
23: #error Need a definition for wchar_t
24:
25: #endif
26:
27: #endif /* ! defined (__COMMON__WCHAR_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.