aboutsummaryrefslogtreecommitdiffstats
path: root/include/bits
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-16 23:41:43 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-16 23:41:43 +0200
commit7d542cca97f7e7cc0d41e4e7dc438b334ee184b9 (patch)
tree92d91ed8e1f4c34f2014616a90d33a12d22edbe6 /include/bits
parentm (diff)
downloadslibc-7d542cca97f7e7cc0d41e4e7dc438b334ee184b9.tar.gz
slibc-7d542cca97f7e7cc0d41e4e7dc438b334ee184b9.tar.bz2
slibc-7d542cca97f7e7cc0d41e4e7dc438b334ee184b9.tar.xz
m fixes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/bits/types.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/bits/types.h b/include/bits/types.h
index f2318c1..b7d0bd6 100644
--- a/include/bits/types.h
+++ b/include/bits/types.h
@@ -53,6 +53,7 @@
# define __LIMITED_PTR_INT int
# else
# define __LIMITED_PTR_INT long int
+# endif
#endif
@@ -95,13 +96,13 @@ typedef unsigned __LIMITED_PTR_INT uptrdiff_t;
# if defined(__NEED_wchar_t) && !defined(__DEFINED_wchar_t)
# define __DEFINED_wchar_t
# if __WCHAR_BIT == 8
-typedef __WCHAR_SIGNESS __INT8 wchar_t
+typedef __WCHAR_SIGNNESS __INT8 wchar_t
# elif __WCHAR_BIT == 16
-typedef __WCHAR_SIGNESS __INT16 wchar_t
+typedef __WCHAR_SIGNNESS __INT16 wchar_t
# elif __WCHAR_BIT == 32
-typedef __WCHAR_SIGNESS __INT32 wchar_t
+typedef __WCHAR_SIGNNESS __INT32 wchar_t
# elif __WCHAR_BIT == 64
-typedef __WCHAR_SIGNESS __INT64 wchar_t
+typedef __WCHAR_SIGNNESS __INT64 wchar_t
# endif
__warning("'wchar_t' is not guaranteed to be defined as expected, use 'int32_t'.");
# endif