From 98b3e867451968eb9263bd753693deeeb145ee08 Mon Sep 17 00:00:00 2001 From: d3x0r Date: Thu, 17 Oct 2024 12:33:15 -0700 Subject: [PATCH] Sort of need these changes too; hopefully we will re-spot them on libressl update --- src/contrib/libressl/3.9.2/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/contrib/libressl/3.9.2/CMakeLists.txt b/src/contrib/libressl/3.9.2/CMakeLists.txt index f5cc2a327..a8f7f124a 100644 --- a/src/contrib/libressl/3.9.2/CMakeLists.txt +++ b/src/contrib/libressl/3.9.2/CMakeLists.txt @@ -133,11 +133,12 @@ endif() if(WIN32) add_definitions(-D_CRT_SECURE_NO_WARNINGS) add_definitions(-D_CRT_DEPRECATED_NO_WARNINGS) + add_definitions(-D_CRT_NONSTDC_NO_WARNINGS) add_definitions(-D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS) add_definitions(-DNO_SYSLOG) add_definitions(-DWIN32_LEAN_AND_MEAN) if(NOT CMAKE_SYSTEM_NAME MATCHES "WindowsStore") - add_definitions(-D_WIN32_WINNT=0x0600) + #add_definitions(-D_WIN32_WINNT=0x0600) endif() set(PLATFORM_LIBS ${PLATFORM_LIBS} ws2_32 ntdll bcrypt) endif()