mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
Fix for compilers that don't support 'long long' (From Ove Kaaven).
This commit is contained in:
parent
95e7acb95d
commit
d2304aa893
@ -402,7 +402,8 @@ INT WINAPI RtlExtendedLargeIntegerDivide(
|
||||
*rest = x1 % divisor;
|
||||
return x1/divisor;
|
||||
#else
|
||||
FIXME("((%ld<<32)+%ld,%ld,%p), implement this using normal integer arithmetic!\n",dividend.HighPart,dividend.LowPart,divisor,rest);
|
||||
FIXME("((%ld<<32)+%ld,%ld,%p), implement this using normal integer arithmetic!\n",
|
||||
dividend.s.HighPart,dividend.s.LowPart,divisor,rest);
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
@ -420,8 +421,12 @@ LARGE_INTEGER WINAPI RtlExtendedIntegerMultiply(
|
||||
long long result = (*(long long*)&factor1) * factor2;
|
||||
return (*(LARGE_INTEGER*)&result);
|
||||
#else
|
||||
FIXME("((%ld<<32)+%ld,%d), implement this using normal integer arithmetic!\n",factor1.HighPart,factor1.LowPart,factor2);
|
||||
return 0;
|
||||
LARGE_INTEGER result;
|
||||
result.s.HighPart = 0;
|
||||
result.s.LowPart = 0;
|
||||
FIXME("((%ld<<32)+%ld,%d), implement this using normal integer arithmetic!\n",
|
||||
factor1.s.HighPart,factor1.s.LowPart,factor2);
|
||||
return result;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user