diff options
author | Liming Gao <liming.gao@intel.com> | 2019-10-17 14:55:50 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2019-10-24 09:41:32 +0800 |
commit | 7d9ba361cc79dcba667bc3e2dc45ac0ef1756cbb (patch) | |
tree | b58b5d6a35f97bfc2acf0d4632566b9986f53a42 /MdeModulePkg/Library | |
parent | 0f59f4480583738f0fe4def1b7983130e3fdb33c (diff) | |
download | edk2-7d9ba361cc79dcba667bc3e2dc45ac0ef1756cbb.tar.gz |
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>
Diffstat (limited to 'MdeModulePkg/Library')
-rw-r--r-- | MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/7zTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
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__)
#if _MSC_VER >= 1300
#define MY_NO_INLINE __declspec(noinline)
|