summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-18 08:33:30 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-18 08:33:30 +0000
commitd9ef3b7dc43a48bf563689ed9fc107c19928048f (patch)
treed9ca1499408f2f7c3404a962c249143e5469fb2b /EdkCompatibilityPkg
parent6b6f74521437d556d7a047881a7efb8e17f48781 (diff)
downloadedk2-d9ef3b7dc43a48bf563689ed9fc107c19928048f.zip
edk2-d9ef3b7dc43a48bf563689ed9fc107c19928048f.tar.gz
edk2-d9ef3b7dc43a48bf563689ed9fc107c19928048f.tar.bz2
GCC Cleanup: UINT8_MAX is defined already in standard header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6594 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r--EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
index efcda80..ea12d02 100644
--- a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
+++ b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
@@ -135,7 +135,9 @@ Returns:
#define MAXMATCH 256
#define THRESHOLD 3
#define CODE_BIT 16
+#ifndef UINT8_MAX
#define UINT8_MAX 0xff
+#endif
#define BAD_TABLE - 1
//