audk/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include
klu2 c85640b2a1 1, Use #if defined() to judge the switching macro such as compiler macro.
Original, some code directly judge the value of these macros, but linux ICC compiler will report error as "zero used for undefined preprocessing identifier". So it is better judge whether these macros are defined before accessing their value.
2, Use #if defined() style to replace #ifdef style.
It is good to keep consistent style for this case.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7597 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 06:09:44 +00:00
..
Common edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Common/EdkIIGlueDefinitionChangesPeim.h: 2008-05-22 23:20:30 +00:00
Ebc 1, Use #if defined() to judge the switching macro such as compiler macro. 2009-02-23 06:09:44 +00:00
Ia32 Use #ifdef but not #if for compiler macros. 2009-02-17 06:12:14 +00:00
Ipf 1, Use #if defined() to judge the switching macro such as compiler macro. 2009-02-23 06:09:44 +00:00
Library Change function IpfFlushCacheRange() to AsmFlushCacheRange() follow the Mde_Lib_Spec. 2008-12-04 06:56:34 +00:00
Pcd Add in the 1st version of ECP. 2007-06-28 07:00:39 +00:00
X64 1, Use #if defined() to judge the switching macro such as compiler macro. 2009-02-23 06:09:44 +00:00
AutoGen.h Add in the 1st version of ECP. 2007-06-28 07:00:39 +00:00
DxeDepex.h Add in the 1st version of ECP. 2007-06-28 07:00:39 +00:00
EdkIIGlueBase.h edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/EdkIIGlueBase.h: 2008-05-22 19:05:40 +00:00
EdkIIGlueConfig.h GCC Cleanup: Add () to (EFI_D_ERROR|EFI_D_INFO) pass GCC build. 2008-11-18 07:59:24 +00:00
EdkIIGlueDxe.h edk2/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib 2008-05-27 02:24:49 +00:00
EdkIIGluePeim.h Fixed several include filename issues for gcc+unix. 2008-04-11 20:24:11 +00:00
EdkIIGlueUefi.h GCC/ICC Cleanup. 2008-11-27 02:05:01 +00:00
PeimDepex.h Add in the 1st version of ECP. 2007-06-28 07:00:39 +00:00