audk/MdePkg
Rebecca Cran 57a890fd03 MdePkg: Check if compiler has __has_builtin before trying to use it
When building AArch64 code, cpp gets run with the `-undef` flag which on
Fedora 40 with gcc version 14.1.1 20240607 (Red Hat 14.1.1-5) causes
__has_builtin to be undefined. When running the check for
__builtin_unreachable in Base.h it causes an error
"missing binary operator before token "("".

Check that we have __has_builtin before trying to use it.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
2024-06-20 01:55:03 +00:00
..
Include MdePkg: Check if compiler has __has_builtin before trying to use it 2024-06-20 01:55:03 +00:00
Library MdePkg/X86UnitTestHost: set rdrand cpuid bit 2024-06-14 13:31:12 +00:00
Test MdePkg: Add MockHash2 Protocol for testing 2024-05-24 15:48:52 +00:00
MdeLibs.dsc.inc MdePkg: Add MmUnblockMemoryLib to MdeLibs.dsc 2024-05-10 03:46:27 +00:00
MdePkg.ci.yaml MdePkg: Add LoongArch Cpucfg function 2024-02-06 23:51:47 +08:00
MdePkg.dec ArmPkg,MdePkg: move ArmLib.h to MdePkg 2024-06-15 03:57:14 +00:00
MdePkg.dsc MdePkg: Add a new library named PeiServicesTablePointerLibKs0 2024-02-06 23:51:47 +08:00
MdePkg.uni MdePkg: Utilize Cache Management Operations Implementation For RISC-V 2023-12-19 12:48:14 +00:00
MdePkgExtra.uni MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00