summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Foundation/Library
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 05:51:02 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 05:51:02 +0000
commit5cfbd055878dcca6f3e4081fc5c8805fd2ce7107 (patch)
tree541c3b9bb643efbcb30860fd2460223f3ae5f4f0 /EdkCompatibilityPkg/Foundation/Library
parent04985a579c321272ba3cb5790f1ed5dc698616c4 (diff)
downloadedk2-platforms-5cfbd055878dcca6f3e4081fc5c8805fd2ce7107.tar.xz
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@7596 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Library')
0 files changed, 0 insertions, 0 deletions