summaryrefslogtreecommitdiffstats
path: root/libc/include/wchar.h
diff options
context:
space:
mode:
authorSergey Melnikov <sergey.melnikov@intel.com>2012-11-21 19:42:19 +0400
committerSergey Melnikov <sergey.melnikov@intel.com>2012-11-26 12:01:58 +0400
commita437bff914aa4416e8a72ea444f226f84c8b11fd (patch)
tree0e1a574df2d0ca81daea1033296040b36de70e24 /libc/include/wchar.h
parent8784709a2cfe6d32b5fff2c6b826b8d9cbf73d7b (diff)
downloadbionic-a437bff914aa4416e8a72ea444f226f84c8b11fd.zip
bionic-a437bff914aa4416e8a72ea444f226f84c8b11fd.tar.gz
bionic-a437bff914aa4416e8a72ea444f226f84c8b11fd.tar.bz2
Bug: __WINT_TYPE__ and wint_t reference to different types
__WINT_TYPE__ type provided by gcc. It references to unsigned int type for android and linux. Patch corrects wint_t typedef to __WINT_TYPE__. Signed-off-by: Sergey Melnikov <sergey.melnikov@intel.com> Change-Id: Iabeb9fcb0b7bb303a8b220043e339126f125dd68
Diffstat (limited to 'libc/include/wchar.h')
-rw-r--r--libc/include/wchar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/wchar.h b/libc/include/wchar.h
index b46985b..ef88e04 100644
--- a/libc/include/wchar.h
+++ b/libc/include/wchar.h
@@ -45,7 +45,7 @@
__BEGIN_DECLS
-typedef int wint_t;
+typedef __WINT_TYPE__ wint_t;
typedef struct { int dummy; } mbstate_t;
typedef enum {