- Hackfix floating point call in rtl's printf until the compiler guys get their shit together.

svn path=/trunk/; revision=41975
This commit is contained in:
ReactOS Portable Systems Group 2009-07-15 17:49:05 +00:00
parent 17fcd0b411
commit 92c0f0afef
2 changed files with 4 additions and 0 deletions

View file

@ -226,7 +226,9 @@ numberf(char * buf, char * end, double num, int base, int size, int precision, i
{
x = num;
tmp[i++] = digits[do_div(&x,base)];
#ifndef _M_ARM // Missing __floatdidf in CeGCC 0.55 -- GCC 4.4
num=x;
#endif
}
if (i > precision)
precision = i;

View file

@ -226,7 +226,9 @@ numberf(wchar_t * buf, wchar_t * end, double num, int base, int size, int precis
{
x = num;
tmp[i++] = digits[do_div(&x,base)];
#ifndef _M_ARM // Missing __floatdidf in CeGCC 0.55 -- GCC 4.4
num = x;
#endif
}
if (i > precision)
precision = i;