> -----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 > > Define the same macro in the different OS. It can make CLANG generate the > same > image in the different host OS. > > Signed-off-by: Liming Gao <liming....@intel.com> > --- > MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/7zTypes.h | 2 > +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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 > > -#ifdef _MSC_VER > +#if defined(_MSC_VER) && !defined(__clang__) >
Reviewed-by: Hao A Wu <hao.a...@intel.com> Best Regards, Hao Wu > #if _MSC_VER >= 1300 > #define MY_NO_INLINE __declspec(noinline) > -- > 2.13.0.windows.1 > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#49044): https://edk2.groups.io/g/devel/message/49044 Mute This Topic: https://groups.io/mt/34540588/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-