boot: Fix data model detection for ARM

For whatever reason, ARM does not define __ILP32__.
This commit is contained in:
Jan Janssen
2023-02-28 14:37:05 +01:00
parent 90ec8ebe33
commit d14eb24925
+1 -1
View File
@@ -126,7 +126,7 @@ _gnu_printf_(2, 0) _warn_unused_result_ char16_t *xvasprintf_status(EFI_STATUS s
/* inttypes.h is provided by libc instead of the compiler and is not supposed to be used in freestanding
* environments. We could use clang __*_FMT*__ constants for this, bug gcc does not have them. :( */
# if defined(__ILP32__)
# if defined(__ILP32__) || defined(__arm__)
# define PRI64_PREFIX "ll"
# elif defined(__LP64__)
# define PRI64_PREFIX "l"