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
This commit is contained in:
eric_tian 2009-05-19 04:25:42 +00:00
parent 99ade971a1
commit 78709ef8cf
2 changed files with 2 additions and 2 deletions

View File

@ -309,7 +309,7 @@ typedef int32_t intn_t;
// //
// For symbol name in GNU assembly code, an extra "_" is necessary // For symbol name in GNU assembly code, an extra "_" is necessary
// //
#if __GNUC__ #if defined(__GNUC__)
#if defined(linux) #if defined(linux)
#define ASM_PFX(name) name #define ASM_PFX(name) name
#else #else

View File

@ -261,7 +261,7 @@ typedef int64_t intn_t;
// //
// For symbol name in GNU assembly code, an extra "_" is necessary // For symbol name in GNU assembly code, an extra "_" is necessary
// //
#if __GNUC__ #if defined(__GNUC__)
#if defined(linux) #if defined(linux)
#define ASM_PFX(name) name #define ASM_PFX(name) name
#else #else