diff options
author | Jan Janssen <medhefgo@web.de> | 2023-02-27 15:58:42 +0100 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2023-02-28 14:37:05 +0100 |
commit | d14eb24925362e30a1f362e99c93a127757aa471 (patch) | |
tree | 435f05c63f1233b200fbbfdf8c77ce33a118353a /src/boot | |
parent | 90ec8ebe33ec72ed6d9f451de9443d67dd351d72 (diff) | |
download | systemd-d14eb24925362e30a1f362e99c93a127757aa471.tar.gz |
boot: Fix data model detection for ARM
For whatever reason, ARM does not define __ILP32__.
Diffstat (limited to 'src/boot')
-rw-r--r-- | src/boot/efi/efi-string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/efi-string.h b/src/boot/efi/efi-string.h index 410bfd8ef5..4df37a8505 100644 --- a/src/boot/efi/efi-string.h +++ b/src/boot/efi/efi-string.h @@ -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" |