]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/ReportStatusCodeLib.c
Fix the build bugs for these three files.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Library / DxeReportStatusCodeLib / ReportStatusCodeLib.c
index 0526d22073f037f81ffc0bbaf244ae30f731a56a..ffc105a087595aed5726f772ab0c634f6fe4577e 100644 (file)
@@ -85,7 +85,10 @@ InternalReportStatusCode (
     //\r
     return (gStatusCode->ReportStatusCode) (Type, Value, Instance, (EFI_GUID *)CallerId, Data);\r
   } else {\r
+#if (EFI_SPECIFICATION_VERSION < 0x00020000)\r
     return (gRT->ReportStatusCode) (Type, Value, Instance, (EFI_GUID *)CallerId, Data);\r
+#endif\r
+    return EFI_UNSUPPORTED;\r
   }\r
 \r
 }\r