[lib][uefi] Fix -Wc++20-compat compiler warning
This commit is contained in:
committed by
Travis Geiselbrecht
parent
b1e26e90cd
commit
91a76a9a03
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user