]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools/CommonLib: drop definition of MAX_UINTN
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 29 Nov 2018 12:22:46 +0000 (13:22 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 5 Dec 2018 08:04:54 +0000 (09:04 +0100)
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 <ard.biesheuvel@linaro.org>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/C/Common/CommonLib.h

index 7f67a451569b34fe073fef87b63f3421106b47c7..4e1541bc705e47278d52ed271f04cd560e7cd959 100644 (file)
@@ -22,7 +22,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #define MAX_LONG_FILE_PATH 500\r
 \r
 \r
 #define MAX_LONG_FILE_PATH 500\r
 \r
-#define MAX_UINTN MAX_ADDRESS\r
 #define MAX_UINT64 ((UINT64)0xFFFFFFFFFFFFFFFFULL)\r
 #define MAX_UINT32 ((UINT32)0xFFFFFFFF)\r
 #define MAX_UINT16  ((UINT16)0xFFFF)\r
 #define MAX_UINT64 ((UINT64)0xFFFFFFFFFFFFFFFFULL)\r
 #define MAX_UINT32 ((UINT32)0xFFFFFFFF)\r
 #define MAX_UINT16  ((UINT16)0xFFFF)\r