From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web10.1079.1571191555222444732 for ; Tue, 15 Oct 2019 19:05:55 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: hao.a.wu@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Oct 2019 19:05:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,302,1566889200"; d="scan'208";a="395740791" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga005.fm.intel.com with ESMTP; 15 Oct 2019 19:05:54 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 15 Oct 2019 19:05:54 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 15 Oct 2019 19:05:53 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.166]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.225]) with mapi id 14.03.0439.000; Wed, 16 Oct 2019 10:05:45 +0800 From: "Wu, Hao A" To: "devel@edk2.groups.io" , "Gao, Liming" Subject: Re: [edk2-devel] [Patch v2 06/11] MdeModulePkg LzmaCustomDecompressLib: Update macro to be same in CLANG tool Thread-Topic: [edk2-devel] [Patch v2 06/11] MdeModulePkg LzmaCustomDecompressLib: Update macro to be same in CLANG tool Thread-Index: AQHVgu9YgfoyaCdPlEG1GyAGXsrCdqdchn3A Date: Wed, 16 Oct 2019 02:05:44 +0000 Message-ID: References: <1571099210-12432-1-git-send-email-liming.gao@intel.com> <1571099210-12432-7-git-send-email-liming.gao@intel.com> In-Reply-To: <1571099210-12432-7-git-send-email-liming.gao@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: hao.a.wu@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Liming Gao > Sent: Tuesday, October 15, 2019 8:27 AM > To: devel@edk2.groups.io > Subject: [edk2-devel] [Patch v2 06/11] MdeModulePkg > LzmaCustomDecompressLib: Update macro to be same in CLANG tool >=20 > Define the same macro in the different OS. It can make CLANG generate th= e > same > image in the different host OS. >=20 > Signed-off-by: Liming Gao > --- > MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/7zTypes.h | 2 > +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git > a/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/7zTypes.h > b/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/7zTypes.h > index ac06278002..c89b5c2433 100644 > --- a/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/7zTypes.h > +++ > b/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/7zTypes.h > @@ -118,7 +118,7 @@ typedef int Bool; > #define MY_STD_CALL > #endif >=20 > -#ifdef _MSC_VER > +#if defined(_MSC_VER) && !defined(__clang__) >=20 Reviewed-by: Hao A Wu Best Regards, Hao Wu > #if _MSC_VER >=3D 1300 > #define MY_NO_INLINE __declspec(noinline) > -- > 2.13.0.windows.1 >=20 >=20 >=20