[lib][uefi] Fix -Wc++20-compat compiler warning

This commit is contained in:
Yi-Yo Chiang
2025-09-05 13:45:50 +08:00
committed by Travis Geiselbrecht
parent b1e26e90cd
commit 91a76a9a03

View File

@@ -34,7 +34,12 @@
struct EfiEventImpl;
typedef void* EfiHandle;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wc++20-compat"
#if __cplusplus < 202002L
typedef uint8_t char8_t;
#endif
#pragma GCC diagnostic pop
typedef EfiEventImpl* EfiEvent;
typedef uint64_t EfiPhysicalAddr;
typedef uint64_t EfiVirtualAddr;