> -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > Liming Gao > Sent: Tuesday, October 15, 2019 8:27 AM > To: [email protected] > 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 <[email protected]> > --- > 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 <[email protected]> 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: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
