libc: Fix _default_types.h so uint_least8/16/32_t properly recognised by newlib

Newlib built from projectgus/newlib-xtensa 514f105b0
(thanks @Frans-Willem for the fix)
This commit is contained in:
Angus Gratton 2015-09-09 08:25:34 +10:00
parent e61e84ca7d
commit 1464adb5a9
4 changed files with 4 additions and 0 deletions

View file

@ -32,15 +32,19 @@ typedef unsigned long long __uint64_t;
typedef __int8_t __int_least8_t; typedef __int8_t __int_least8_t;
typedef __uint8_t __uint_least8_t; typedef __uint8_t __uint_least8_t;
#define ___int_least8_t_defined
typedef __int16_t __int_least16_t; typedef __int16_t __int_least16_t;
typedef __uint16_t __uint_least16_t; typedef __uint16_t __uint_least16_t;
#define ___int_least16_t_defined
typedef __int32_t __int_least32_t; typedef __int32_t __int_least32_t;
typedef __uint32_t __uint_least32_t; typedef __uint32_t __uint_least32_t;
#define ___int_least32_t_defined
typedef __int64_t __int_least64_t; typedef __int64_t __int_least64_t;
typedef __uint64_t __uint_least64_t; typedef __uint64_t __uint_least64_t;
#define ___int_least64_t_defined
typedef __INTPTR_TYPE__ __intptr_t; typedef __INTPTR_TYPE__ __intptr_t;
typedef __UINTPTR_TYPE__ __uintptr_t; typedef __UINTPTR_TYPE__ __uintptr_t;

Binary file not shown.

Binary file not shown.

Binary file not shown.