From 974a027175f6b7725d49c9e110e5f58c42e0ef66 Mon Sep 17 00:00:00 2001 From: jji4 Date: Wed, 18 Mar 2009 06:15:07 +0000 Subject: Fix build break. ISO_639_2_ENTRY_SIZE has been moved to be local. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7902 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabase.h | 6 ++++++ EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.c | 4 ++++ EdkCompatibilityPkg/Compatibility/UcOnUc2Thunk/UcOnUc2Thunk.c | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabase.h b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabase.h index 10a7006480..f09c3cea92 100644 --- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabase.h +++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/HiiDatabase.h @@ -69,6 +69,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #define FRAMEWORK_RESERVED_VARSTORE_ID 0x0001 #define FRAMEWORK_RESERVED_VARSTORE_NAME L"Setup" +/// +/// The size of a 3 character ISO639 language code. +/// +#define ISO_639_2_ENTRY_SIZE 3 + + #pragma pack (1) typedef struct { diff --git a/EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.c b/EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.c index 7bc94018b8..b8cfd5dc66 100644 --- a/EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.c +++ b/EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.c @@ -32,6 +32,10 @@ Module Name: #include +/// +/// The size of a 3 character ISO639 language code. +/// +#define ISO_639_2_ENTRY_SIZE 3 /** Performs a case-insensitive comparison of two Null-terminated Unicode diff --git a/EdkCompatibilityPkg/Compatibility/UcOnUc2Thunk/UcOnUc2Thunk.c b/EdkCompatibilityPkg/Compatibility/UcOnUc2Thunk/UcOnUc2Thunk.c index 9a5549fff1..8fbffce05f 100644 --- a/EdkCompatibilityPkg/Compatibility/UcOnUc2Thunk/UcOnUc2Thunk.c +++ b/EdkCompatibilityPkg/Compatibility/UcOnUc2Thunk/UcOnUc2Thunk.c @@ -32,6 +32,11 @@ Module Name: #include +/// +/// The size of a 3 character ISO639 language code. +/// +#define ISO_639_2_ENTRY_SIZE 3 + /** Performs a case-insensitive comparison of two Null-terminated Unicode -- cgit v1.2.3