git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7535
6f19259b-4bc3-4df7-8a09-
765794883524
// if the /OPT:REF linker option is used. We defined a macro as this is a \r
// a non standard extension\r
//\r
// if the /OPT:REF linker option is used. We defined a macro as this is a \r
// a non standard extension\r
//\r
+#ifdef _MSC_EXTENSIONS\r
#define GLOBAL_REMOVE_IF_UNREFERENCED __declspec(selectany)\r
#else\r
#define GLOBAL_REMOVE_IF_UNREFERENCED\r
#define GLOBAL_REMOVE_IF_UNREFERENCED __declspec(selectany)\r
#else\r
#define GLOBAL_REMOVE_IF_UNREFERENCED\r