summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLassebq <lassebq.mine@gmail.com>2024-03-30 19:48:22 +0200
committerLassebq <lassebq.mine@gmail.com>2024-03-30 19:48:22 +0200
commit395f6a4683f4695f8667a323c272afd369964f0f (patch)
tree1aa6d7314dfdf33a1c7d65e370bab3d45f0d6e70
parent8e300a60014674b40e84887316b81d25cb95190e (diff)
downloadgcompat-395f6a4683f4695f8667a323c272afd369964f0f.tar.gz
gcompat-395f6a4683f4695f8667a323c272afd369964f0f.tar.bz2
gcompat-395f6a4683f4695f8667a323c272afd369964f0f.tar.xz
gcompat-395f6a4683f4695f8667a323c272afd369964f0f.zip
fenv: Add GNU extensions
-rw-r--r--Makefile1
-rw-r--r--libgcompat/fenv.c12
2 files changed, 13 insertions, 0 deletions
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;
+}
+