From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 9C3413968C1A; Tue, 13 Apr 2021 10:56:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C3413968C1A Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] fenv: add missing declarations to x86 fenv.h X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: c326ca1615ea08ebbc11c61dd3248c82df232637 X-Git-Newrev: 79ac4237dcf7a133176b5664fac37f39164df533 Message-Id: <20210413105632.9C3413968C1A@sourceware.org> Date: Tue, 13 Apr 2021 10:56:32 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2021 10:56:32 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=79ac4237dcf7a133176b5664fac37f39164df533 commit 79ac4237dcf7a133176b5664fac37f39164df533 Author: Corinna Vinschen Date: Wed Mar 24 10:44:00 2021 +0100 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 Diff: --- newlib/libc/machine/x86_64/sys/fenv.h | 5 +++++ 1 file changed, 5 insertions(+) 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__