diff options
| author | David 'Digit' Turner <digit@google.com> | 2010-06-14 17:18:35 -0700 |
|---|---|---|
| committer | David 'Digit' Turner <digit@google.com> | 2010-06-15 07:04:41 -0700 |
| commit | 3527fd6f0df794207215790321824b7844cc712d (patch) | |
| tree | bf295d17cdd7dfccd75ec314e02f93d3e1cd125a /libc/include/wchar.h | |
| parent | da3019b55305ce51b1b483d8727641e791ce0941 (diff) | |
| download | bionic-3527fd6f0df794207215790321824b7844cc712d.zip bionic-3527fd6f0df794207215790321824b7844cc712d.tar.gz bionic-3527fd6f0df794207215790321824b7844cc712d.tar.bz2 | |
wchar.h: improve wchar_t support in Bionic
Change-Id: Iffd41046fd0933c66542abf7627a1569522dfcb2
Diffstat (limited to 'libc/include/wchar.h')
| -rw-r--r-- | libc/include/wchar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/include/wchar.h b/libc/include/wchar.h index 97e1b5c..df456ef 100644 --- a/libc/include/wchar.h +++ b/libc/include/wchar.h @@ -70,9 +70,9 @@ typedef enum { WC_TYPE_MAX } wctype_t; -#define WCHAR_MAX 255 -#define WCHAR_MIN 0 -#define WEOF (-1) +#define WCHAR_MAX INT_MAX +#define WCHAR_MIN INT_MIN +#define WEOF ((wchar_t)(-1)) extern wint_t btowc(int); extern int fwprintf(FILE *, const wchar_t *, ...); |
