summaryrefslogtreecommitdiff
path: root/math/bits
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-03-31 09:31:10 -0300
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-03-31 14:50:00 -0300
commit1361e98d5602e8b78cca019952d4a3438d68a239 (patch)
tree236b10995536f0c57829372c8703e64aba42b9ef /math/bits
parentce39613205dc47ceaeea76710d49e7a483b503ab (diff)
Fix condition for inclusion of math-finite.h for long double
The condition for declaration of long double functions in math-finite.h was #ifdef __MATH_DECLARE_LDOUBLE before the macroization of this file. After the macroization, it was incorreclty changed to #if __MATH_DECLARE_LDOUBLE, which broke the build for arm. * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE. * math/bits/math-finite.h: Likewise.
Diffstat (limited to 'math/bits')
-rw-r--r--math/bits/math-finite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/bits/math-finite.h b/math/bits/math-finite.h
index 59cd06b866..29f2f2ed43 100644
--- a/math/bits/math-finite.h
+++ b/math/bits/math-finite.h
@@ -177,7 +177,7 @@ __MATH_REDIRCALL (remainder, , (_Mdouble_, _Mdouble_));
#if (__MATH_DECLARING_DOUBLE \
&& (defined __USE_MISC \
|| (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K8))) \
- || (!__MATH_DECLARE_LDOUBLE && defined __USE_MISC)
+ || (!defined __MATH_DECLARE_LDOUBLE && defined __USE_MISC)
/* scalb. */
__MATH_REDIRCALL (scalb, , (_Mdouble_, _Mdouble_));
#endif