summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorLiu, Zhiguang <zhiguang.liu@intel.com>2020-02-04 10:20:58 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-06 08:55:58 +0000
commit21821933aea284cd3dfea6994bd4b83bd9739fc9 (patch)
tree449e161867ca6032b8ec64a6ec4bdb9f390d838a /MdePkg
parent7990438f1437f47990a8890dee51978cb8dbc25c (diff)
downloadedk2-21821933aea284cd3dfea6994bd4b83bd9739fc9.zip
edk2-21821933aea284cd3dfea6994bd4b83bd9739fc9.tar.gz
edk2-21821933aea284cd3dfea6994bd4b83bd9739fc9.tar.bz2
MdePkg: Avoid using __clang__ to specify CLANGPDB
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2415 Avoid using __clang__ to specify CLANGPDB because this macro is also defined in CLANG38 and this causes CLANG38 build failure. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h
index 321d729..53fa6dc 100644
--- a/MdePkg/Include/Base.h
+++ b/MdePkg/Include/Base.h
@@ -623,7 +623,7 @@ typedef char* VA_LIST;
#elif defined(__GNUC__) || defined(__clang__)
-#if defined(MDE_CPU_X64) && !defined(NO_MSABI_VA_FUNCS) && !defined(__clang__)
+#if defined(MDE_CPU_X64) && !defined(NO_MSABI_VA_FUNCS)
//
// X64 only. Use MS ABI version of GCC built-in macros for variable argument lists.
//