Author: ros-arm-bringup
Date: Wed Jul 15 19:49:05 2009
New Revision: 41975
URL:
http://svn.reactos.org/svn/reactos?rev=41975&view=rev
Log:
- Hackfix floating point call in rtl's printf until the compiler guys get their shit
together.
Modified:
trunk/reactos/lib/rtl/sprintf.c
trunk/reactos/lib/rtl/swprintf.c
Modified: trunk/reactos/lib/rtl/sprintf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/sprintf.c?rev=4197…
==============================================================================
--- trunk/reactos/lib/rtl/sprintf.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/sprintf.c [iso-8859-1] Wed Jul 15 19:49:05 2009
@@ -226,7 +226,9 @@
{
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;
Modified: trunk/reactos/lib/rtl/swprintf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/swprintf.c?rev=419…
==============================================================================
--- trunk/reactos/lib/rtl/swprintf.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/swprintf.c [iso-8859-1] Wed Jul 15 19:49:05 2009
@@ -226,7 +226,9 @@
{
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;