From f7ca8237b83d2f24ce098f8f2fcb8ab740c0aa05 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Wed, 16 Apr 2025 09:24:46 -0500 Subject: [PATCH] Fix types.h for MSVC6.0 --- wolfssl/wolfcrypt/types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/types.h b/wolfssl/wolfcrypt/types.h index a3e6af7aa..423c3d986 100644 --- a/wolfssl/wolfcrypt/types.h +++ b/wolfssl/wolfcrypt/types.h @@ -252,7 +252,8 @@ decouple library dependencies with standard string, memory and so on. #endif #endif - #if (defined(_MSC_VER) && !defined(WOLFSSL_NOT_WINDOWS_API)) || \ + #if (defined(_MSC_VER) && (_MSC_VER == 1200)) || /* MSVC6 */ \ + (defined(_MSC_VER) && !defined(WOLFSSL_NOT_WINDOWS_API)) || \ defined(__BCPLUSPLUS__) || \ (defined(__WATCOMC__) && defined(__WATCOM_INT64__)) /* windows types */