From 67300727a8f080a335af86378f47b7c2fe088416 Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Wed, 26 Nov 2014 14:07:50 -0800 Subject: Update __builtin_isnan() WAR to be >= 3.7, since this is still not fixed. http://www.llvm.org/bugs/show_bug.cgi?id=20958 Change-Id: Ia95fadd264c0401f5625c69e3688c14131970a8e --- 9/platforms/android-3/arch-arm/usr/include/math.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '9/platforms/android-3/arch-arm') diff --git a/9/platforms/android-3/arch-arm/usr/include/math.h b/9/platforms/android-3/arch-arm/usr/include/math.h index 15d53a1..0706a1f 100644 --- a/9/platforms/android-3/arch-arm/usr/include/math.h +++ b/9/platforms/android-3/arch-arm/usr/include/math.h @@ -523,10 +523,10 @@ double __builtin_fma(double, double, double) __NDK_FPABI_MATH__; double __builtin_hypot(double, double) __NDK_FPABI_MATH__; int __builtin_ilogb(double) __NDK_FPABI_MATH__ __pure2; /* int __builtin_isinf(double) __NDK_FPABI_MATH__ __pure2; */ -#if !defined(__clang__) || __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 6) +#if !defined(__clang__) || __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 7) int __builtin_isnan(double) __NDK_FPABI_MATH__ __pure2; #else -/* clang < 3.5 has faulty prototype for __builtin_isnan */ +/* clang < 3.7 has faulty prototype for __builtin_isnan */ #endif double __builtin_lgamma(double) __NDK_FPABI_MATH__; long long __builtin_llrint(double) __NDK_FPABI_MATH__; -- cgit v1.1