From 78709ef8cf13fe387a5b72cab34de195e6438070 Mon Sep 17 00:00:00 2001 From: eric_tian Date: Tue, 19 May 2009 04:25:42 +0000 Subject: [PATCH] change the error usage of "#if __GNUC__" Condition Macro to "#if defined(__GNUC__)" git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8328 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h | 2 +- EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h b/EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h index c89ca9d00e..0f5b220731 100644 --- a/EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h +++ b/EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h @@ -309,7 +309,7 @@ typedef int32_t intn_t; // // For symbol name in GNU assembly code, an extra "_" is necessary // -#if __GNUC__ +#if defined(__GNUC__) #if defined(linux) #define ASM_PFX(name) name #else diff --git a/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h b/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h index d3bf5a077e..273490eeca 100644 --- a/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h +++ b/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h @@ -261,7 +261,7 @@ typedef int64_t intn_t; // // For symbol name in GNU assembly code, an extra "_" is necessary // -#if __GNUC__ +#if defined(__GNUC__) #if defined(linux) #define ASM_PFX(name) name #else -- 2.39.2