pixman: Branch 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Dec 20 16:57:15 UTC 2019
test/utils.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 364760cd3d9c62088cbe6a81d1f7704344203e40
Author: Khem Raj <raj.khem at gmail.com>
Date: Tue May 17 17:30:00 2016 -0700
test/utils: Check for FE_INVALID definition before use
Some architectures e.g. nios2 do not support all exceptions.
diff --git a/test/utils.c b/test/utils.c
index 1fafd80..cd9ab26 100644
--- a/test/utils.c
+++ b/test/utils.c
@@ -993,9 +993,11 @@ enable_invalid_exceptions (void)
{
#ifdef HAVE_FENV_H
#ifdef HAVE_FEENABLEEXCEPT
+#ifdef FE_INVALID
feenableexcept (FE_INVALID);
#endif
#endif
+#endif
}
void *
More information about the xorg-commit
mailing list