diff options
Diffstat (limited to 'src/arch/arm64/include')
-rw-r--r-- | src/arch/arm64/include/stdint.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/arm64/include/stdint.h b/src/arch/arm64/include/stdint.h index 38c2e1ee2f..113c0e7cc7 100644 --- a/src/arch/arm64/include/stdint.h +++ b/src/arch/arm64/include/stdint.h @@ -60,4 +60,14 @@ typedef uint8_t bool; typedef s64 intptr_t; typedef u64 uintptr_t; +#ifndef UINT32_MAX +#define UINT32_MAX (4294967295U) +#endif +#ifndef UINT64_MAX +# define UINT64_MAX (18446744073709551615ULL) +#endif +#ifndef PRIu64 +#define PRIu64 "llu" +#endif + #endif /* ARM64_STDINT_H */ |