]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Include/Base.h
MdePkg: avoid __builtin_unreachable() on GCC v4.4
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 14 Jul 2016 12:10:14 +0000 (14:10 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 21 Jul 2016 11:32:09 +0000 (13:32 +0200)
commit357cec385d4f44385b24c299a601afc811abd9b7
tree0bdbba29e1b832f45e8b18efd2693c696bfd9a8d
parente78a2a49ee6b0c0d7c6997c87ace31d7761cf636
MdePkg: avoid __builtin_unreachable() on GCC v4.4

GCC v4.4 does not implement __builtin_unreachable(), so avoid using
it when building with this version or earlier.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Tested-By: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Include/Base.h