]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg Base.h: Define STATIC_ASSERT macro as empty for EBC arch
authorLiming Gao <liming.gao@intel.com>
Tue, 24 Sep 2019 15:04:33 +0000 (23:04 +0800)
committerLiming Gao <liming.gao@intel.com>
Wed, 25 Sep 2019 05:41:00 +0000 (13:41 +0800)
commita3596a040bbd363b75a4d79da359374c0f409bc5
tree44e7f68eb9a9b6cc1381d1ad34314440cb74d120
parent96301aadc199e3dcd4dec39a8e6257862d1f92c5
MdePkg Base.h: Define STATIC_ASSERT macro as empty for EBC arch

EBC compiler doesn't support C11 static_assert macro.
So, define STATIC_ASSERT as empty to pass EBC arch build.
STATIC_ASSERT macro is introduced @204ae9da230ecbf0910c21acac7aa5d5e8cbb8d0

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
MdePkg/Include/Base.h