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
headder.
  • Loading branch information
LeszekSwirski committed Aug 14, 2024
1 parent d57ca3d commit 094e2d5
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 094e2d5

Please sign in to comment.