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:
committed by
Tom Rini
parent
de39dc7162
commit
9865543ae6
@@ -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. */
|
||||
|
||||
|
Reference in New Issue
Block a user