diff options
| author | David 'Digit' Turner <digit@google.com> | 2010-06-15 07:05:21 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-06-15 07:05:21 -0700 |
| commit | 6a09cfd9f916e3a60de707ff0806cdeb143d77a4 (patch) | |
| tree | 02ccfa89fc3936933b72b41be0a1361b912c688e /libc/include/wchar.h | |
| parent | a24bc688c037c9ecf0486747cb8d7568af8ec37b (diff) | |
| parent | 3527fd6f0df794207215790321824b7844cc712d (diff) | |
| download | bionic-6a09cfd9f916e3a60de707ff0806cdeb143d77a4.zip bionic-6a09cfd9f916e3a60de707ff0806cdeb143d77a4.tar.gz bionic-6a09cfd9f916e3a60de707ff0806cdeb143d77a4.tar.bz2 | |
Merge "wchar.h: improve wchar_t support in Bionic" into kraken
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 *, ...); |
