X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkCompatibilityPkg%2FFoundation%2FLibrary%2FEdkIIGlueLib%2FInclude%2FCommon%2FEdkIIGlueDefinitionChangesBase.h;h=1705d47f34bcb37486d122471f0e132e31295858;hp=3c3076954d7b5ae24317e7c825e35ccd6052b53f;hb=2c7e5c2febd407ed1849c06da50734dd6f751956;hpb=3eb9473ea9a949badfe06ae61d2d3fcfa53651c7 diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Common/EdkIIGlueDefinitionChangesBase.h b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Common/EdkIIGlueDefinitionChangesBase.h index 3c3076954d..1705d47f34 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Common/EdkIIGlueDefinitionChangesBase.h +++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Common/EdkIIGlueDefinitionChangesBase.h @@ -1,7 +1,7 @@ /*++ -Copyright (c) 2004 - 2006, Intel Corporation -All rights reserved. This program and the accompanying materials +Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.
+This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -23,7 +23,11 @@ Abstract: #ifndef __EDKII_GLUE_DEFINITION_CHANGES_BASE_H__ #define __EDKII_GLUE_DEFINITION_CHANGES_BASE_H__ +#if (EFI_SPECIFICATION_VERSION >= 0x0002000A) +#include "TianoHii.h" +#else #include "EfiInternalFormRepresentation.h" +#endif #include "EfiPxe.h" @@ -47,7 +51,7 @@ Abstract: // ---------------------------------------------------------------------------------- // InternalFormRepresentation.h: // ---------------------------------------------------------------------------------- - +#if (EFI_SPECIFICATION_VERSION < 0x0002000A) typedef struct { EFI_IFR_OP_HEADER Header; UINT16 QuestionId; // The ID designating what the question is about...sucked in from a #define, likely in the form of a variable name @@ -66,6 +70,7 @@ typedef struct { typedef struct { EFI_IFR_OP_HEADER Header; } EFI_IFR_END_EXPR; +#endif // ------------------------ // define GUID as EFI_GUID