Skip to content

Commit

Permalink
Include intrin.h for __umulh
Browse files Browse the repository at this point in the history
Arm64 uses __umulh, so add the same condition for including the intrin.h
header.
  • Loading branch information
LeszekSwirski committed Aug 14, 2024
1 parent d57ca3d commit 74e3c29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/fast_float/float_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ using parse_options = parse_options_t<char>;
#endif
#endif

#if ((defined(_WIN32) || defined(_WIN64)) && !defined(__clang__))
#if ((defined(_WIN32) || defined(_WIN64)) && !defined(__clang__)) || \
(defined(_M_ARM64) && !defined(__MINGW32__))
#include <intrin.h>
#endif

Expand Down

0 comments on commit 74e3c29

Please sign in to comment.