Skip to content

Commit

Permalink
Merge pull request #2121 from albinahlback/msc_fix
Browse files Browse the repository at this point in the history
Fix longlong.h for x86 Windows
  • Loading branch information
albinahlback authored Jan 17, 2025
2 parents abd899b + 1785f40 commit a7c5b85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/longlong_msc_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ do \
# define _FLINT_SBB _subborrow_u64

/* Multiplication */
#define umul_ppmm(r1, r0, u, v) do { (r0) = _umul128(u, v, &(r1)); } while (0)
#define smul_ppmm(r1, r0, u, v) do { (r0) = _mul128(u, v, &(r1)); } while (0)
#define umul_ppmm(r1, r0, u, v) do { (r0) = _umul128(u, v, (unsigned __int64 *) &(r1)); } while (0)
#define smul_ppmm(r1, r0, u, v) do { (r0) = _mul128(u, v, (__int64 *) &(r1)); } while (0)

/* Division */
# define _FLINT_DIV _udiv128
Expand Down

0 comments on commit a7c5b85

Please sign in to comment.