summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePeiServicesLib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePeiServicesLib.h b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePeiServicesLib.h
index 373723376e..f9a9dd7c01 100644
--- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePeiServicesLib.h
+++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGluePeiServicesLib.h
@@ -23,6 +23,11 @@ Abstract:
#ifndef __EDKII_GLUE_PEI_SERVICES_LIB_H__
#define __EDKII_GLUE_PEI_SERVICES_LIB_H__
+//
+// To avoid macro expansion issue when the parameter list has #if #endif.
+//
+#define PeiServicesLocatePpi GluePeiServicesLocatePpi
+
/**
This service enables a given PEIM to register an interface into the PEI Foundation.