CryptoPkg/CrtLibSupport: add UINT_MAX

Add define for UINT_MAX.
Will be needed by openssl 3.0.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
This commit is contained in:
Gerd Hoffmann 2022-04-11 19:24:53 +08:00 committed by mergify[bot]
parent 58771f4b2d
commit 2759e42fbc
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define INT_MIN (-INT_MAX-1) /* Minimum (signed) int value */
#define LONG_MAX 0X7FFFFFFFL /* max value for a long */
#define LONG_MIN (-LONG_MAX-1) /* min value for a long */
#define UINT_MAX 0xFFFFFFFF /* Maximum unsigned int value */
#define ULONG_MAX 0xFFFFFFFF /* Maximum unsigned long value */
#define CHAR_BIT 8 /* Number of bits in a char */