From dbcd6402c363ed8e4a768a22f5a607ba01a667e4 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 11 Aug 2026 09:55:05 -0400 Subject: [PATCH] Utilities: Update hard-coded try_compile results for libarchive 3.8.9 --- Utilities/cmThirdPartyChecks.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Utilities/cmThirdPartyChecks.cmake b/Utilities/cmThirdPartyChecks.cmake index 9245acac8c..7247001208 100644 --- a/Utilities/cmThirdPartyChecks.cmake +++ b/Utilities/cmThirdPartyChecks.cmake @@ -33,6 +33,7 @@ if(WIN32) set(HAVE_ARC4RANDOM 0) set(HAVE_ARC4RANDOM_BUF 0) set(HAVE_ARPA_TFTP_H 0) + set(HAVE_BCRYPT_H 1) set(HAVE_BSWAP_16 0) set(HAVE_BSWAP_32 0) set(HAVE_BSWAP_64 0) @@ -259,7 +260,10 @@ if(WIN32) set(HAVE_SIZEOF_CURL_SOCKET_T 1) set(SIZEOF_CURL_SOCKET_T 8) - if(NOT MINGW) + if(MINGW) + set(HAVE_GETTIMEOFDAY 1) + else() + set(HAVE_GETTIMEOFDAY 0) set(HAVE_STRTOK_R 0) endif()