summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-19 04:25:42 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-19 04:25:42 +0000
commit78709ef8cf13fe387a5b72cab34de195e6438070 (patch)
treea401cad44371dc5c1a681f32344e0c5d01320e3d /EdkCompatibilityPkg
parent99ade971a1a642d7e2e061d42a5fb50d8a2df343 (diff)
downloadedk2-platforms-78709ef8cf13fe387a5b72cab34de195e6438070.tar.xz
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
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r--EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h2
-rw-r--r--EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h2
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