Skip to content

Commit 409d621

Browse files
committed
Fixes compilation on GCC/MinGW
1 parent 7b21183 commit 409d621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fast_float/float_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ full_multiplication(uint64_t a, uint64_t b) {
407407
answer.high = __umulh(a, b);
408408
answer.low = a * b;
409409
#elif defined(FASTFLOAT_32BIT) || \
410-
(defined(_WIN64) && !defined(__clang__) && !defined(_M_ARM64))
410+
(defined(_WIN64) && !defined(__clang__) && !defined(_M_ARM64) && !defined(__GNUC__))
411411
answer.low = _umul128(a, b, &answer.high); // _umul128 not available on ARM64
412412
#elif defined(FASTFLOAT_64BIT) && defined(__SIZEOF_INT128__)
413413
__uint128_t r = ((__uint128_t)a) * b;

0 commit comments

Comments
 (0)