1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

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.
This commit is contained in:
Gabriel F. T. Gomes
2017-03-31 09:31:10 -03:00
parent ce39613205
commit 1361e98d56
3 changed files with 7 additions and 2 deletions

View File

@ -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