X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FIpf%2FProcessorBind.h;h=a7fc3a9d8ed39cff5777e4da5ece771ae858dbd8;hp=0d8b9e9ccaef90a83b8e0d350cae7d876119f50b;hb=20bfd422ed24d772cf7e0c8bd214d6ce5a454c68;hpb=c6137cfd5d5272401fdd6f60bf51ffe51fcc61b2 diff --git a/MdePkg/Include/Ipf/ProcessorBind.h b/MdePkg/Include/Ipf/ProcessorBind.h index 0d8b9e9cca..a7fc3a9d8e 100644 --- a/MdePkg/Include/Ipf/ProcessorBind.h +++ b/MdePkg/Include/Ipf/ProcessorBind.h @@ -201,7 +201,11 @@ typedef INT64 INTN; // if the /OPT:REF linker option is used. We defined a macro as this is a // a non standard extension // -#define GLOBAL_REMOVE_IF_UNREFERENCED +#if _MSC_EXTENSIONS + #define GLOBAL_REMOVE_IF_UNREFERENCED __declspec(selectany) +#else + #define GLOBAL_REMOVE_IF_UNREFERENCED +#endif // // A pointer to a function in IPF points to a plabel.