1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

Remove CONFIG_USE_STDINT

You do not need to use the typedefs provided by compiler.

Our compilers are either IPL32 or LP64.  Hence, U-Boot can/should
always use int-ll64.h typedefs like Linux kernel, whatever the
typedefs the compiler internally uses.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada
2018-08-06 20:47:38 +09:00
committed by Tom Rini
parent de39dc7162
commit 9865543ae6
10 changed files with 2 additions and 47 deletions

View File

@@ -34,19 +34,9 @@ typedef wchar_t __gwchar_t;
defined if explicitly requested. */
#if !defined __cplusplus || defined __STDC_FORMAT_MACROS
#ifdef CONFIG_USE_STDINT
# if __WORDSIZE == 64
# define __PRI64_PREFIX "l"
# define __PRIPTR_PREFIX "l"
# else
# define __PRI64_PREFIX "ll"
# define __PRIPTR_PREFIX
# endif
#else
/* linux/types.h always uses long long for 64-bit and long for uintptr_t */
# define __PRI64_PREFIX "ll"
# define __PRIPTR_PREFIX "l"
#endif
/* Macros for printing format specifiers. */