summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Ia32
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2020-02-03 16:20:48 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-06 09:12:07 +0000
commit8778ee616a623480959b2cc1934e485eedf022c6 (patch)
treeaeefbe0a909e66a386133ffb71921ca81b75d40a /MdePkg/Include/Ia32
parent21821933aea284cd3dfea6994bd4b83bd9739fc9 (diff)
downloadedk2-8778ee616a623480959b2cc1934e485eedf022c6.tar.gz
edk2-8778ee616a623480959b2cc1934e485eedf022c6.tar.bz2
edk2-8778ee616a623480959b2cc1934e485eedf022c6.zip
MdePkg Base.h: Use correct style to check macro _MSC_VER value
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg/Include/Ia32')
-rw-r--r--MdePkg/Include/Ia32/ProcessorBind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h
index fa4b7e8e98..9380380e57 100644
--- a/MdePkg/Include/Ia32/ProcessorBind.h
+++ b/MdePkg/Include/Ia32/ProcessorBind.h
@@ -87,7 +87,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
//
#pragma warning ( disable : 4206 )
-#if _MSC_VER == 1800 || _MSC_VER == 1900 || _MSC_VER >= 1910
+#if defined(_MSC_VER) && _MSC_VER >= 1800
//
// Disable these warnings for VS2013.