From ad8e1035c3feb1650640c2cfc995c1f5f917bbc7 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 12 Mar 2009 16:51:53 +0000 Subject: honour NO_LONG_DOUBLE_MATH This fixes compilation errors on hosts that turn off long double support for C99 like powerpc32. Signed-off-by: Khem Raj Signed-off-by: Bernhard Reutner-Fischer --- include/tgmath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tgmath.h') diff --git a/include/tgmath.h b/include/tgmath.h index 2897697b6..fc9c9ffaf 100644 --- a/include/tgmath.h +++ b/include/tgmath.h @@ -36,7 +36,7 @@ #if __GNUC_PREREQ (2, 7) -# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__ +# ifdef __NO_LONG_DOUBLE_MATH # define __tgml(fct) fct # else # define __tgml(fct) fct ## l -- cgit v1.2.3