From c718ed29a450938046f48cffdb34a3d66560d2a8 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 9fdffedf5f..80e2fa9ca5 100644 --- a/CryptoPkg/Library/Include/CrtLibSupport.h +++ b/CryptoPkg/Library/Include/CrtLibSupport.h @@ -79,6 +79,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. //