MdeModulePkg LzmaCustomDecompressLib: Update macro to be same in CLANG tool

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1603
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.gao@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
This commit is contained in:
Liming Gao 2019-10-17 14:55:50 +08:00
parent 0f59f44805
commit 7d9ba361cc
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ typedef int Bool;
#define MY_STD_CALL #define MY_STD_CALL
#endif #endif
#ifdef _MSC_VER #if defined(_MSC_VER) && !defined(__clang__)
#if _MSC_VER >= 1300 #if _MSC_VER >= 1300
#define MY_NO_INLINE __declspec(noinline) #define MY_NO_INLINE __declspec(noinline)