Not sure why you'd take that out when someone using UINTN for variables may
want to use MAX_UINTN ?    Future may be different.

On Mon, Dec 3, 2018 at 5:08 AM Laszlo Ersek <[email protected]> wrote:

> On 11/30/18 23:45, Ard Biesheuvel wrote:
> > The maximum value that can be represented by the native word size
> > of the *target* should be irrelevant when compiling tools that
> > run on the build *host*. So drop the definition of MAX_UINTN, now
> > that we no longer use it.
> >
> > Contributed-under: TianoCore Contribution Agreement 1.1
> > Signed-off-by: Ard Biesheuvel <[email protected]>
> > Reviewed-by: Jaben Carsey <[email protected]>
> > ---
> >  BaseTools/Source/C/Common/CommonLib.h | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/BaseTools/Source/C/Common/CommonLib.h
> b/BaseTools/Source/C/Common/CommonLib.h
> > index 6930d9227b87..b1c6c00a3478 100644
> > --- a/BaseTools/Source/C/Common/CommonLib.h
> > +++ b/BaseTools/Source/C/Common/CommonLib.h
> > @@ -22,7 +22,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND,
> EITHER EXPRESS OR IMPLIED.
> >
> >  #define MAX_LONG_FILE_PATH 500
> >
> > -#define MAX_UINTN MAX_ADDRESS
> >  #define MAX_UINT64 ((UINT64)0xFFFFFFFFFFFFFFFFULL)
> >  #define MAX_UINT16  ((UINT16)0xFFFF)
> >  #define MAX_UINT8   ((UINT8)0xFF)
> >
>
> Reviewed-by: Laszlo Ersek <[email protected]>
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.01.org/mailman/listinfo/edk2-devel
>
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to