projects
/
mes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mescc: Mes C Library: Support GNU Awk: Add wchar_t.
[mes.git]
/
include
/
sys
/
types.h
diff --git
a/include/sys/types.h
b/include/sys/types.h
index 510f512bcb2370eb475de6af6d8e8aa4057823cb..03dd10418f330e1de7f58e541ec85ae06a5e695e 100644
(file)
--- a/
include/sys/types.h
+++ b/
include/sys/types.h
@@
-138,6
+138,15
@@
typedef long ssize_t;
typedef unsigned uid_t;
#endif
+#ifndef __WCHAR_T
+#define __WCHAR_T
+#ifndef __MES_WCHAR_T
+#define __MES_WCHAR_T
+#undef wchar_t
+typedef int wchar_t;
+#endif
+#endif
+
#endif // ! SYSTEM_LIBC
#endif // __MES_SYS_TYPES_H