Skip to content

Commit 8f3dae6

Browse files
authored
Merge pull request #260 from fastfloat/intrin-for-umul
Include intrin.h for __umulh
2 parents d57ca3d + 74e3c29 commit 8f3dae6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/fast_float/float_common.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ using parse_options = parse_options_t<char>;
8484
#endif
8585
#endif
8686

87-
#if ((defined(_WIN32) || defined(_WIN64)) && !defined(__clang__))
87+
#if ((defined(_WIN32) || defined(_WIN64)) && !defined(__clang__)) || \
88+
(defined(_M_ARM64) && !defined(__MINGW32__))
8889
#include <intrin.h>
8990
#endif
9091

0 commit comments

Comments
 (0)