From: qwang12 Date: Tue, 18 Nov 2008 08:33:30 +0000 (+0000) Subject: GCC Cleanup: UINT8_MAX is defined already in standard header file. X-Git-Tag: edk2-stable201903~19651 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=d9ef3b7dc43a48bf563689ed9fc107c19928048f 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 --- 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 //