summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/fenv.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/include/fenv.h')
-rw-r--r--winsup/cygwin/include/fenv.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/winsup/cygwin/include/fenv.h b/winsup/cygwin/include/fenv.h
index 497691374..26464252c 100644
--- a/winsup/cygwin/include/fenv.h
+++ b/winsup/cygwin/include/fenv.h
@@ -8,8 +8,8 @@ This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
-#ifndef _FENV_H_
-#define _FENV_H_
+#ifndef _FENV_H
+#define _FENV_H 1
#include <sys/cdefs.h>
@@ -72,13 +72,9 @@ typedef struct _fenv_t
of exceptional floating-point arithmetic to provide auxiliary information.
A floating-point control mode is a system variable whose value may be
set by the user to affect the subsequent behavior of floating-point
- arithmetic. */
+ arithmetic. */
-typedef struct _fexcept_t
-{
- unsigned short _fpu_exceptions;
- unsigned short _sse_exceptions;
-} fexcept_t;
+typedef __uint32_t fexcept_t;
/* The <fenv.h> header shall define the following constants if and only
if the implementation supports the floating-point exception by means
@@ -176,4 +172,4 @@ extern int fegetexcept (void);
}
#endif
-#endif /* _FENV_H_ */
+#endif /* _FENV_H */