From bab3f2d3acb8b66477e6641b330147ec62835ed4 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Tue, 16 Sep 2008 12:53:15 +0000 Subject: [PATCH] Fix build error git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5904 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/DxeReportStatusCodeLib/ReportStatusCodeLib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/ReportStatusCodeLib.c b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/ReportStatusCodeLib.c index ffc105a087..cac0b4bd9f 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/ReportStatusCodeLib.c +++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/ReportStatusCodeLib.c @@ -87,8 +87,9 @@ InternalReportStatusCode ( } else { #if (EFI_SPECIFICATION_VERSION < 0x00020000) return (gRT->ReportStatusCode) (Type, Value, Instance, (EFI_GUID *)CallerId, Data); -#endif +#else return EFI_UNSUPPORTED; +#endif } }