summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2025-04-24 17:21:04 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-07-17 14:45:20 +0000
commitc718ed29a450938046f48cffdb34a3d66560d2a8 (patch)
tree69ee50f120025c8054c5ae1251ef194b3fcb9caa
parent2a36117d7af2632d15df624074ac650798c247d6 (diff)
downloadedk2-c718ed29a450938046f48cffdb34a3d66560d2a8.zip
edk2-c718ed29a450938046f48cffdb34a3d66560d2a8.tar.gz
edk2-c718ed29a450938046f48cffdb34a3d66560d2a8.tar.bz2
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 <kraxel@redhat.com>
-rw-r--r--CryptoPkg/Library/Include/CrtLibSupport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h b/CryptoPkg/Library/Include/CrtLibSupport.h
index 9fdffed..80e2fa9 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.
//