Fix MSVC build.

svn path=/trunk/; revision=54451
This commit is contained in:
Pierre Schweitzer 2011-11-19 22:08:39 +00:00
parent a9e9b29ff5
commit df03d3cc8b

View file

@ -26,6 +26,9 @@
double ldexp (double value, int exp)
{
register double result;
#ifndef __GNUC__
register double __dy = (double)exp;
#endif
/* Check for value correctness
* and set errno if required
@ -49,7 +52,6 @@ double ldexp (double value, int exp)
: "1");
#endif
#else /* !__GNUC__ */
register double __dy = (double)exp;
__asm
{
fld __dy