Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2021-03-24 12:44:00 +0300
committerCorinna Vinschen <corinna@vinschen.de>2021-04-07 11:27:13 +0300
commitc5c8e71a1e460925efdff8829bdd507227177cde (patch)
tree7c1291fbf3329b25a0f49b604446bf50c70f54f8
parent7bd201566ec05cf9882ba3c17d7ec83c563d7ae5 (diff)
fenv: add missing declarations to x86 fenv.h
feenableexcept, fedisableexcept and fegetexcept were accidentally missing in the x86 fenv.h Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r--newlib/libc/machine/x86_64/sys/fenv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/machine/x86_64/sys/fenv.h b/newlib/libc/machine/x86_64/sys/fenv.h
index 83f599577..0cf152a97 100644
--- a/newlib/libc/machine/x86_64/sys/fenv.h
+++ b/newlib/libc/machine/x86_64/sys/fenv.h
@@ -156,6 +156,11 @@ extern const fenv_t *_fe_dfl_env;
if _GNU_SOURCE is defined. */
extern const fenv_t *_fe_nomask_env;
#define FE_NOMASK_ENV (_fe_nomask_env)
+
+/* These are GNU extensions defined in glibc. */
+int feenableexcept (int __excepts);
+int fedisableexcept (int __excepts);
+int fegetexcept (void);
#endif /* __GNU_VISIBLE */
#ifdef __INSIDE_CYGWIN__