From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web12.797.1580782905927420191 for ; Mon, 03 Feb 2020 18:21:46 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: zhiguang.liu@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Feb 2020 18:21:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,398,1574150400"; d="scan'208";a="231222132" Received: from fieedk002.ccr.corp.intel.com ([10.239.158.170]) by orsmga003.jf.intel.com with ESMTP; 03 Feb 2020 18:21:43 -0800 From: "Zhiguang Liu" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao Subject: [Patch V2 2/2] MdePkg: Avoid using __clang__ to specify CLANGPDB Date: Tue, 4 Feb 2020 10:20:58 +0800 Message-Id: <20200204022058.429348-2-zhiguang.liu@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20200204022058.429348-1-zhiguang.liu@intel.com> References: <20200204022058.429348-1-zhiguang.liu@intel.com> 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 Cc: Liming Gao Signed-off-by: Zhiguang Liu --- MdePkg/Include/Base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h index 321d729c04..53fa6dca04 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. // -- 2.16.2.windows.1