]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Use #ifdef but not #if for compiler macros.
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 17 Feb 2009 06:12:14 +0000 (06:12 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 17 Feb 2009 06:12:14 +0000 (06:12 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7535 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Ia32/EdkIIGlueProcessorBind.h

index 3e301aca04779816f5b4b1684e2402d1d0a1e5cd..17d3c4a380f8bc2ec88ee892b173edf8926a2c0a 100644 (file)
@@ -28,7 +28,7 @@ Abstract:
 //  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
-#if _MSC_EXTENSIONS\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