Include intrin.h for __umulh

Arm64 uses __umulh, so add the same condition for including the intrin.h
header.
This commit is contained in:
Leszek Swirski 2024-08-14 14:57:08 +02:00
parent d57ca3da1f
commit 74e3c29215

View File

@ -84,7 +84,8 @@ using parse_options = parse_options_t<char>;
#endif #endif
#endif #endif
#if ((defined(_WIN32) || defined(_WIN64)) && !defined(__clang__)) #if ((defined(_WIN32) || defined(_WIN64)) && !defined(__clang__)) || \
(defined(_M_ARM64) && !defined(__MINGW32__))
#include <intrin.h> #include <intrin.h>
#endif #endif