aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--math/bits/math-finite.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a9fb242..8313a86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-09-04 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #22082]
+ * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
+ (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
+
2017-09-04 Florian Weimer <fweimer@redhat.com>
* math/math.h: Issue warning if log is defined.
diff --git a/math/bits/math-finite.h b/math/bits/math-finite.h
index 8113db2..98dbe55 100644
--- a/math/bits/math-finite.h
+++ b/math/bits/math-finite.h
@@ -67,7 +67,7 @@ __MATH_REDIRCALL (cosh, , (_Mdouble_));
/* exp. */
__MATH_REDIRCALL (exp, , (_Mdouble_));
-#ifdef __USE_GNU
+#if __GLIBC_USE (IEC_60559_FUNCS_EXT)
/* exp10. */
__MATH_REDIRCALL (exp10, , (_Mdouble_));
#endif