From 395f6a4683f4695f8667a323c272afd369964f0f Mon Sep 17 00:00:00 2001 From: Lassebq Date: Sat, 30 Mar 2024 19:48:22 +0200 Subject: fenv: Add GNU extensions --- Makefile | 1 + libgcompat/fenv.c | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 libgcompat/fenv.c diff --git a/Makefile b/Makefile index bd1e97d..426513f 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ LIBGCOMPAT_SRC = \ libgcompat/error.c \ libgcompat/execinfo.c \ libgcompat/fcntl.c \ + libgcompat/fenv.c \ libgcompat/gnulib.c \ libgcompat/grp.c \ libgcompat/internal.c \ diff --git a/libgcompat/fenv.c b/libgcompat/fenv.c new file mode 100644 index 0000000..b761f89 --- /dev/null +++ b/libgcompat/fenv.c @@ -0,0 +1,12 @@ +int fedisableexcept(int excepts) { + return 0; +} + +int feenableexcept(int excepts) { + return 0; +} + +int fegetexcept(void) { + return 0; +} + -- cgit v1.2.3-70-g09d2