Skip to content

Commit 62ea52b

Browse files
StefanStojanovicfilipecosta90
authored andcommitted
Fix ClangCL build on Windows
1 parent 18c7a32 commit 62ea52b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/hdr_histogram.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
/* Runtime-dispatched AVX2 path: keep the rest of this TU at the project's
3838
baseline ISA so the shipped binary does not silently require AVX2. */
3939
#if (defined(__x86_64__) || defined(_M_X64) || defined(__i386__) || defined(_M_IX86)) \
40-
&& (defined(__GNUC__) || defined(__clang__)) && !defined(__INTEL_COMPILER)
40+
&& (defined(__GNUC__) || defined(__clang__)) && !defined(__INTEL_COMPILER) && !defined(_MSC_VER)
4141
# define HDR_HAS_AVX2_DISPATCH 1
4242
# include <immintrin.h>
4343
#endif

0 commit comments

Comments
 (0)