mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
Update libcompat-to-msvc.a for 32-bit so we can link against SDL 2.0.9
git-svn-id: https://svn.eduke32.com/eduke32@7225 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c1caf149d7
commit
ccebff2c85
2 changed files with 18 additions and 0 deletions
Binary file not shown.
|
@ -548,6 +548,24 @@ __umoddi3(a, b)
|
|||
(void)__qdivrem(a, b, &r);
|
||||
return (r);
|
||||
}
|
||||
|
||||
/*
|
||||
* Divide two unsigned quads.
|
||||
* This function is new in GCC 7.
|
||||
*/
|
||||
u_quad_t
|
||||
__udivmoddi4(a, b, rem)
|
||||
u_quad_t a, b, *rem;
|
||||
{
|
||||
u_quad_t ua, ub, uq, ur;
|
||||
|
||||
ua = a;
|
||||
ub = b;
|
||||
uq = __qdivrem(ua, ub, &ur);
|
||||
if (rem)
|
||||
*rem = ur;
|
||||
return uq;
|
||||
}
|
||||
#else
|
||||
static int __attribute__((unused)) dummy;
|
||||
#endif /* defined (_X86_) && !defined (__x86_64__) */
|
||||
|
|
Loading…
Reference in a new issue