This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED] Fix iseqsig for ports that do not support FE_INVALID
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: libc-alpha at sourceware dot org
- Date: Fri, 7 Oct 2016 14:22:29 -0300
- Subject: [COMMITTED] Fix iseqsig for ports that do not support FE_INVALID
- Authentication-results: sourceware.org; auth=none
Microblaze, nios2, and tile do not support FE_INVALID and thus
define feraiseexcept as a empty macro. Include math-private.h
to get such definition.
Checked with a build for microblaze, nios2, and tilepro.
* math/s_iseqsig_template.c: Include math-private.h.
---
ChangeLog | 2 ++
math/s_iseqsig_template.c | 1 +
2 files changed, 3 insertions(+)
diff --git a/math/s_iseqsig_template.c b/math/s_iseqsig_template.c
index ebdae64..5969206 100644
--- a/math/s_iseqsig_template.c
+++ b/math/s_iseqsig_template.c
@@ -19,6 +19,7 @@
#include <errno.h>
#include <fenv.h>
#include <math.h>
+#include <math_private.h>
#include <stdbool.h>
#include <fix-fp-int-compare-invalid.h>
--
2.7.4