X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FBase.h;fp=MdePkg%2FInclude%2FBase.h;h=85a091b9d564af20b62101239beb9e1a1a2decd7;hp=53fa6dca04c484ddfaf356bf16f6c859138f97db;hb=8778ee616a623480959b2cc1934e485eedf022c6;hpb=21821933aea284cd3dfea6994bd4b83bd9739fc9 diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h index 53fa6dca04..85a091b9d5 100644 --- a/MdePkg/Include/Base.h +++ b/MdePkg/Include/Base.h @@ -33,7 +33,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent // if the /OPT:REF linker option is used. We defined a macro as this is a // a non standard extension // -#if defined(_MSC_EXTENSIONS) && _MSC_VER < 1800 && !defined (MDE_CPU_EBC) +#if defined(_MSC_VER) && _MSC_VER < 1800 && !defined (MDE_CPU_EBC) /// /// Remove global variable from the linked image if there are no references to /// it after all compiler and linker optimizations have been performed.