diff options
author | Lassebq <lassebq.mine@gmail.com> | 2024-03-30 19:48:22 +0200 |
---|---|---|
committer | Lassebq <lassebq.mine@gmail.com> | 2024-03-30 19:48:22 +0200 |
commit | 395f6a4683f4695f8667a323c272afd369964f0f (patch) | |
tree | 1aa6d7314dfdf33a1c7d65e370bab3d45f0d6e70 | |
parent | 8e300a60014674b40e84887316b81d25cb95190e (diff) | |
download | gcompat-395f6a4683f4695f8667a323c272afd369964f0f.tar.gz gcompat-395f6a4683f4695f8667a323c272afd369964f0f.tar.bz2 gcompat-395f6a4683f4695f8667a323c272afd369964f0f.tar.xz gcompat-395f6a4683f4695f8667a323c272afd369964f0f.zip |
fenv: Add GNU extensions
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | libgcompat/fenv.c | 12 |
2 files changed, 13 insertions, 0 deletions
@@ -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; +} + |