Author: pschweitzer Date: Sat Nov 19 22:08:39 2011 New Revision: 54451
URL: http://svn.reactos.org/svn/reactos?rev=54451&view=rev Log: [CRT] Fix MSVC build.
Modified: trunk/reactos/lib/sdk/crt/math/i386/ldexp.c
Modified: trunk/reactos/lib/sdk/crt/math/i386/ldexp.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/i386/ldexp... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/i386/ldexp.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/math/i386/ldexp.c [iso-8859-1] Sat Nov 19 22:08:39 2011 @@ -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 @@ : "1"); #endif #else /* !__GNUC__ */ - register double __dy = (double)exp; __asm { fld __dy