File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2742,7 +2742,7 @@ Fun Primes
27422742
27432743/** Perform modular multiplication for numbers with up to 64 bits. */
27442744FIO_IFUNC uint64_t fio_math_mod_mul(uint64_t a, uint64_t b, uint64_t mod) {
2745- #if defined(__SIZEOF_INT128__)
2745+ #if defined(__SIZEOF_INT128__) && !FIO_OS_WIN
27462746 return (uint64_t)(((__uint128_t)a * b) % mod);
27472747#else
27482748 uint64_t r = 0;
Original file line number Diff line number Diff line change @@ -2705,7 +2705,7 @@ Fun Primes
27052705
27062706/** Perform modular multiplication for numbers with up to 64 bits. */
27072707FIO_IFUNC uint64_t fio_math_mod_mul (uint64_t a , uint64_t b , uint64_t mod ) {
2708- #if defined(__SIZEOF_INT128__ )
2708+ #if defined(__SIZEOF_INT128__ ) && ! FIO_OS_WIN
27092709 return (uint64_t )(((__uint128_t )a * b ) % mod );
27102710#else
27112711 uint64_t r = 0 ;
You can’t perform that action at this time.
0 commit comments