summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-17 07:41:45 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-17 07:41:45 +0000
commit7cd6b97fc7c8494911f21daa5570eda8770c2969 (patch)
treebea1b7d2ad1c6f9a66df7cb05c37fa0dabb74dd9 /MdePkg
parentd129bd96faae876cbdab473d54a42fb340eaba33 (diff)
downloadedk2-7cd6b97fc7c8494911f21daa5570eda8770c2969.tar.gz
edk2-7cd6b97fc7c8494911f21daa5570eda8770c2969.tar.bz2
edk2-7cd6b97fc7c8494911f21daa5570eda8770c2969.zip
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
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Library/PcdLib.h5
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)