From d9ef3b7dc43a48bf563689ed9fc107c19928048f Mon Sep 17 00:00:00 2001 From: qwang12 Date: Tue, 18 Nov 2008 08:33:30 +0000 Subject: [PATCH] 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 --- EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c | 2 ++ 1 file changed, 2 insertions(+) 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 // -- 2.39.2