From debbe77a3d56fc11bc52c8054656ed5139d72691 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 24 Apr 2025 17:21:04 +0200 Subject: [PATCH] CryptoPkg/CrtLib: explicitly define INT32* constants Avoids openssl-3.5 trying to figure automatically with some macro magic, which happens to not work with the microsoft compiler. Signed-off-by: Gerd Hoffmann --- CryptoPkg/Library/Include/CrtLibSupport.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h b/CryptoPkg/Library/Include/CrtLibSupport.h index 21780780f0..f344691d0d 100644 --- a/CryptoPkg/Library/Include/CrtLibSupport.h +++ b/CryptoPkg/Library/Include/CrtLibSupport.h @@ -80,6 +80,10 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define CHAR_BIT 8 /* Number of bits in a char */ #define SIZE_MAX 0xFFFFFFFF /* Maximum unsigned size_t */ +#define INT32_MIN INT_MIN +#define INT32_MAX INT_MAX +#define UINT32_MAX UINT_MAX + // // Address families. //