diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-18 08:33:30 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-18 08:33:30 +0000 |
commit | d9ef3b7dc43a48bf563689ed9fc107c19928048f (patch) | |
tree | d9ca1499408f2f7c3404a962c249143e5469fb2b /EdkCompatibilityPkg | |
parent | 6b6f74521437d556d7a047881a7efb8e17f48781 (diff) | |
download | edk2-platforms-d9ef3b7dc43a48bf563689ed9fc107c19928048f.tar.xz |
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.c | 2 |
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 efcda80334..ea12d02186 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
//
|