* mingwex/fe*.c: Revert previous changes.

* include/fenv.h: Revert previous changes.

	Add Changelog entry for the reverted change.
This commit is contained in:
Danny Smith
2005-08-25 08:39:54 +00:00
parent b9ebff640a
commit 9e28e551f2
9 changed files with 42 additions and 14 deletions

View File

@@ -10,10 +10,11 @@
/* FIXME: this works but surely there must be a better way. */
void feupdateenv (const fenv_t * envp)
int feupdateenv (const fenv_t * envp)
{
unsigned int _fexcept = fetestexcept (FE_ALL_EXCEPT); /*save excepts */
fesetenv (envp); /* install the env */
feraiseexcept (_fexcept); /* raise the execept */
return 0;
}