diff options
author | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2017-03-31 09:31:10 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2017-03-31 14:50:00 -0300 |
commit | 1361e98d5602e8b78cca019952d4a3438d68a239 (patch) | |
tree | 236b10995536f0c57829372c8703e64aba42b9ef /math/math.h | |
parent | ce39613205dc47ceaeea76710d49e7a483b503ab (diff) | |
download | glibc-1361e98d5602e8b78cca019952d4a3438d68a239.zip glibc-1361e98d5602e8b78cca019952d4a3438d68a239.tar.gz glibc-1361e98d5602e8b78cca019952d4a3438d68a239.tar.bz2 |
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/math.h')
-rw-r--r-- | math/math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/math.h b/math/math.h index 0c19d45..cfaed0e 100644 --- a/math/math.h +++ b/math/math.h @@ -588,7 +588,7 @@ extern int matherr (struct exception *__exc); # undef _MSUF_ /* Include bits/math-finite.h for long double. */ -# if __MATH_DECLARE_LDOUBLE +# ifdef __MATH_DECLARE_LDOUBLE # define _Mdouble_ long double # define __MATH_DECLARING_DOUBLE 0 # define __MATH_DECLARING_LDOUBLE 1 |