Skip to content
Commit c1b073a9 authored by Michael D Kinney's avatar Michael D Kinney Committed by mergify[bot]
Browse files

MdePkg/Include/Library: Undefine _ASSERT() if already defined

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4134



When unit testing is enabled, make sure _ASSERT() is not already
defined by the host environment before defining _ASSERT().  This
avoids conflicts with VS20xx builds of GoogleTest based unit tests.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Signed-off-by: default avatarMichael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: default avatarLiming Gao <gaoliming@byosoft.com.cn>
parent 933b4c33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment