diff mbox

[COMMITTED] Fix iseqsig for ports that do not support FE_INVALID

Message ID 1475860949-23081-1-git-send-email-adhemerval.zanella@linaro.org
State New
Headers show

Commit Message

Adhemerval Zanella Netto Oct. 7, 2016, 5:22 p.m. UTC
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 mbox

Patch

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>