diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2013-06-21 11:11:35 -0700 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2013-06-21 11:11:35 -0700 |
commit | f56a37e539bdd4991e04ccabd9f8e63772f98175 (patch) | |
tree | 3d8089198ef55d4cc656fa664d70daa3c8475ed6 /ndk/platforms/android-8 | |
parent | 720848df0b749e6c6f97249fcf7f9d5afce5be53 (diff) | |
download | android_development-f56a37e539bdd4991e04ccabd9f8e63772f98175.tar.gz android_development-f56a37e539bdd4991e04ccabd9f8e63772f98175.tar.bz2 android_development-f56a37e539bdd4991e04ccabd9f8e63772f98175.zip |
Fix wchar.h not to redefine WCHAR_MAX/WCHAR_MIN
Change-Id: I6c6f2e020b72cce4c8665133ea0a0c5db977e348
Diffstat (limited to 'ndk/platforms/android-8')
-rw-r--r-- | ndk/platforms/android-8/include/wchar.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ndk/platforms/android-8/include/wchar.h b/ndk/platforms/android-8/include/wchar.h index b9c7b0b48..efe60bb74 100644 --- a/ndk/platforms/android-8/include/wchar.h +++ b/ndk/platforms/android-8/include/wchar.h @@ -70,8 +70,11 @@ typedef enum { WC_TYPE_MAX } wctype_t; +#ifndef WCHAR_MAX #define WCHAR_MAX 255 #define WCHAR_MIN 0 +#endif + #define WEOF (-1) extern wint_t btowc(int); |