The patch restores old function behavior in msvcr70 and msvcr71.
From: Piotr Caban piotr@codeweavers.com
The patch restores old function behavior in msvcr70 and msvcr71.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55414 --- dlls/msvcrt/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c index a4d53934c04..a62705bc8f4 100644 --- a/dlls/msvcrt/math.c +++ b/dlls/msvcrt/math.c @@ -1195,7 +1195,7 @@ int CDECL __control87_2( unsigned int newval, unsigned int mask, unsigned int CDECL _control87(unsigned int newval, unsigned int mask) { unsigned int flags = 0; -#ifdef __i386__ +#if defined(__i386__) && (_MSVCR_VER == 0 || _MSVCR_VER >= 80) unsigned int sse2_cw;
__control87_2( newval, mask, &flags, &sse2_cw );