diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-17 07:41:45 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-17 07:41:45 +0000 |
commit | 7cd6b97fc7c8494911f21daa5570eda8770c2969 (patch) | |
tree | bea1b7d2ad1c6f9a66df7cb05c37fa0dabb74dd9 | |
parent | d129bd96faae876cbdab473d54a42fb340eaba33 (diff) | |
download | edk2-platforms-7cd6b97fc7c8494911f21daa5570eda8770c2969.tar.xz |
map FeaturePcdGet(TokenName) to _PCD_GET_MODE_BOOL_##TokenName to follow the build tool's autogen.h output.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1031 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Include/Library/PcdLib.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/MdePkg/Include/Library/PcdLib.h b/MdePkg/Include/Library/PcdLib.h index 37d435596e..4902d2b3de 100644 --- a/MdePkg/Include/Library/PcdLib.h +++ b/MdePkg/Include/Library/PcdLib.h @@ -26,7 +26,7 @@ Module Name: PcdLib.h //
// Feature Flag is in the form of a global constant
//
-#define FeaturePcdGet(TokenName) _PCD_VALUE_##TokenName
+#define FeaturePcdGet(TokenName) _PCD_GET_MODE_BOOL_##TokenName
//
@@ -39,9 +39,6 @@ Module Name: PcdLib.h #define FixedPcdGetBool(TokenName) _PCD_VALUE_##TokenName
-//
-// BugBug: This works for strings, but not constants.
-//
#define FixedPcdGetPtr(TokenName) ((VOID *)_PCD_VALUE_##TokenName)
|