audk/EdkCompatibilityPkg/Foundation/Library
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
..
CompilerStub GCC cleanup: forward slash used.o 2008-12-01 02:32:20 +00:00
CustomizedDecompress edk2/EdkCompatibilityPkg/** 2008-03-17 22:01:12 +00:00
Dxe 1) Add in EcpEfiBreakPoint and EcpMemoryFence which will be defined as EFI_BREAKPOINT and MEMORY_FENCE. 2008-12-02 14:35:15 +00:00
EdkIIGlueLib 1, Use #if defined() to judge the switching macro such as compiler macro. 2009-02-23 06:09:44 +00:00
EfiCommonLib Changing source filename to match name changing. 2008-09-27 05:43:22 +00:00
Pei IPF GCC tool-chain cleanup. 2008-12-06 04:14:01 +00:00
RuntimeDxe/EfiRuntimeLib 1) Add in EcpEfiBreakPoint and EcpMemoryFence which will be defined as EFI_BREAKPOINT and MEMORY_FENCE. 2008-12-02 14:35:15 +00:00
Thunk16 1) Replace IA32API with EFIAPI to standardise the calling convention. 2009-02-11 05:50:37 +00:00