msvcr120: Add feupdateenv implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cdcfba9ad9
commit
06f205d078
|
@ -2155,7 +2155,7 @@
|
|||
@ cdecl fesetexceptflag(ptr long)
|
||||
@ cdecl fesetround(long)
|
||||
@ cdecl fetestexcept(long)
|
||||
@ stub feupdateenv
|
||||
@ cdecl feupdateenv(ptr)
|
||||
@ cdecl fflush(ptr)
|
||||
@ cdecl fgetc(ptr)
|
||||
@ cdecl fgetpos(ptr ptr)
|
||||
|
|
|
@ -1821,7 +1821,7 @@
|
|||
@ cdecl fesetexceptflag(ptr long) msvcr120.fesetexceptflag
|
||||
@ cdecl fesetround(long) msvcr120.fesetround
|
||||
@ cdecl fetestexcept(long) msvcr120.fetestexcept
|
||||
@ stub feupdateenv
|
||||
@ cdecl feupdateenv(ptr) msvcr120.feupdateenv
|
||||
@ cdecl fflush(ptr) msvcr120.fflush
|
||||
@ cdecl fgetc(ptr) msvcr120.fgetc
|
||||
@ cdecl fgetpos(ptr ptr) msvcr120.fgetpos
|
||||
|
|
|
@ -2226,6 +2226,16 @@ int CDECL fegetenv(fenv_t *env)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* feupdateenv (MSVCR120.@)
|
||||
*/
|
||||
int CDECL feupdateenv(const fenv_t *env)
|
||||
{
|
||||
fenv_t set = *env;
|
||||
set._Fe_stat |= _statusfp();
|
||||
return fesetenv(&set);
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* fetestexcept (MSVCR120.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue