audk/EdkCompatibilityPkg/Foundation
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
..
Core/Dxe/ArchProtocol Update Guid Value format. 2008-03-28 12:00:46 +00:00
Cpu 1) Replace IA32API with EFIAPI to standardise the calling convention. 2009-02-11 05:50:37 +00:00
Efi Add Load File 2 Protocol and MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH definition to build newest shell source. 2009-01-15 09:57:19 +00:00
Framework Only define MEDIA_FW_VOL_FILEPATH_DEVICE_PATH for EFI_SPECIFICATION_VERSION <= 0x00020000. When EFI_SPECIFICATION_VERSION > 0x00020000, this definition is defined at EdkCompatibilityPkg\Foundation\Efi\Include\EfiDevicePath.h 2008-12-25 11:36:45 +00:00
Guid ICC Cleanup. 2008-11-18 09:58:36 +00:00
Include For ECP, disable ICC's remark #869: "Parameter" was never referenced warning. 2009-02-01 09:23:46 +00:00
Library 1, Use #if defined() to judge the switching macro such as compiler macro. 2009-02-23 06:09:44 +00:00
Ppi GCC Cleanup: Remove unused typedef. 2008-11-18 08:02:02 +00:00
Protocol UNIX GCC cleanup: file name is case sensitive. 2008-12-04 01:32:07 +00:00