]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Only define MEDIA_FW_VOL_FILEPATH_DEVICE_PATH for EFI_SPECIFICATION_VERSION <= 0x0002...
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 25 Dec 2008 11:36:45 +0000 (11:36 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 25 Dec 2008 11:36:45 +0000 (11:36 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7123 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Foundation/Framework/Include/TianoSpecDevicePath.h

index 413b19bcb580b7f32b77f9a7676a3fe282f59174..3c350b29dcfd89d9b6600e333724b1f9b68b6dc3 100644 (file)
@@ -24,6 +24,7 @@ Abstract:
 \r
 #pragma pack(1)\r
 \r
+#if (EFI_SPECIFICATION_VERSION <= 0x00020000)\r
 //\r
 // EFI Specification extension on Media Device Path. MEDIA_FW_VOL_FILEPATH_DEVICE_PATH is adopted by UEFI later and added in UEFI2.10. \r
 // In EdkCompatibility Package, we only support MEDIA_FW_VOL_FILEPATH_DEVICE_PATH that complies with\r
@@ -34,6 +35,7 @@ typedef struct {
   EFI_DEVICE_PATH_PROTOCOL  Header;\r
   EFI_GUID                  NameGuid;\r
 } MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;\r
+#endif\r
 \r
 \r
 #if (EFI_SPECIFICATION_VERSION > 0x00020000)\r