From 74e3c29215991566d129cd7e11d588dadb5652f3 Mon Sep 17 00:00:00 2001 From: Leszek Swirski Date: Wed, 14 Aug 2024 14:57:08 +0200 Subject: [PATCH] Include intrin.h for __umulh Arm64 uses __umulh, so add the same condition for including the intrin.h header. --- include/fast_float/float_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index 286bd187..33d5a61a 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -84,7 +84,8 @@ using parse_options = parse_options_t; #endif #endif -#if ((defined(_WIN32) || defined(_WIN64)) && !defined(__clang__)) +#if ((defined(_WIN32) || defined(_WIN64)) && !defined(__clang__)) || \ + (defined(_M_ARM64) && !defined(__MINGW32__)) #include #endif