summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Foundation/Efi/Include
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-11 18:08:38 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-11 18:08:38 +0000
commitdb13e3c00baf9ad0a4264e5fdcb17b5c147c5f15 (patch)
treef5ff670fdb156071eb02dd25956d8747005af818 /EdkCompatibilityPkg/Foundation/Efi/Include
parent5c70cb3285dbceae65d135c73e865986a50b2ad2 (diff)
downloadedk2-platforms-db13e3c00baf9ad0a4264e5fdcb17b5c147c5f15.tar.xz
edk2/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h:
UNALIGNED is already defined by including 'windows.h' in the EdkCompatibilityPkg/Sample/Library/Dxe/WinNt/WinNtLib.inf module. For X64/IPF, the definition (via windows.h) is not blank (as it is here). Therefore, a 're-definition' warning is generated. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5045 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Efi/Include')
-rw-r--r--EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h b/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h
index 25a6e02ee9..7d8b43f9f9 100644
--- a/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h
+++ b/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h
@@ -53,7 +53,10 @@ typedef UINT64 EFI_LBA;
#define OUT
#define OPTIONAL
#endif
+
+#ifndef UNALIGNED
#define UNALIGNED
+#endif
//
// Modifiers for EFI Runtime and Boot Services