X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FLibrary%2FPcdLib.h;h=4902d2b3de5e8eafe78b46eec312f440d9ffe4cd;hp=37d435596e0327be2d09a4810f7aa810f21ca7f1;hb=7cd6b97fc7c8494911f21daa5570eda8770c2969;hpb=1eb73ab57aa6d49cd82eb2b3305ec39bba591d1f 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)