about summary refs log tree commit diff
path: root/sysdeps/mips/nofpu/fesetenv.c
blob: 4667e76629a560bfaf593a1546dbf030c6c015bd (plain) (blame)
1
2
3
4
5
6
7
8
/* MIPS bits/fenv.h used to define exception macros for soft-float
   despite that not supporting exceptions.  Ensure use of the old
   FE_NOMASK_ENV value still produces errors (see bug 17088).  */
#include <fenv.h>
#undef FE_ALL_EXCEPT
#define FE_ALL_EXCEPT 0x7c
#define FE_NOMASK_ENV ((const fenv_t *) -2)
#include <math/fesetenv.c>