mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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 <cjihrig@gmail.com>
This commit is contained in:
1 parent
e3fa05841d
commit
bc7ce488d1
1 file changed
+1
-1
Vendored
+1
-1
@@ -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 <immintrin.h>
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user