even if arch overrides smallint size. Makes it easier to spot bugs
on such arches.
#ifdef UCLIBC_INTERNAL
-#ifndef smallint /* if arch didn't override it in bits/wordsize.h */
-typedef int smallint;
-typedef unsigned smalluint;
-#define smallint smallint
+#ifndef smallint_type /* if arch didn't override it in bits/wordsize.h */
+#define smallint_type int
#endif
+typedef signed smallint_type smallint;
+typedef unsigned smallint_type smalluint;
#endif
#define __WORDSIZE 32
#ifdef UCLIBC_INTERNAL
-#ifndef smallint
-typedef signed char smallint;
-typedef unsigned char smalluint;
-#define smallint smallint
+#ifndef smallint_type
+#define smallint_type char
#endif
#endif