From bc7ce488d1986caef52b328ccb5f8453d212defd Mon Sep 17 00:00:00 2001 From: StefanStojanovic Date: Tue, 14 Jul 2026 11:21:44 +0200 Subject: [PATCH] deps: histogram: cherry-pick 62ea52b07ee9b195 Original commit message: Fix ClangCL build on Windows Refs: https://github.com/HdrHistogram/HdrHistogram_c/commit/62ea52b07ee9b195b31855d8327abf9a06ab0054 PR-URL: https://github.com/nodejs/node/pull/64296 Reviewed-By: Colin Ihrig --- deps/histogram/src/hdr_histogram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/histogram/src/hdr_histogram.c b/deps/histogram/src/hdr_histogram.c index b2041f8bf15..a34de2c1b21 100644 --- a/deps/histogram/src/hdr_histogram.c +++ b/deps/histogram/src/hdr_histogram.c @@ -37,7 +37,7 @@ /* Runtime-dispatched AVX2 path: keep the rest of this TU at the project's baseline ISA so the shipped binary does not silently require AVX2. */ #if (defined(__x86_64__) || defined(_M_X64) || defined(__i386__) || defined(_M_IX86)) \ - && (defined(__GNUC__) || defined(__clang__)) && !defined(__INTEL_COMPILER) + && (defined(__GNUC__) || defined(__clang__)) && !defined(__INTEL_COMPILER) && !defined(_MSC_VER) # define HDR_HAS_AVX2_DISPATCH 1 # include #endif