diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-01-14 19:57:50 +0100 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-01-26 19:03:56 +0100 |
commit | 4e0b1f26aed46afd5be5320d90e3f9a266e4b52c (patch) | |
tree | ee1981b6d6460d3e1a7bf9daab3466b60c409138 /9/platforms | |
parent | ed603f9b7893442321e50d96bf226c27da1c279a (diff) | |
download | prebuilts_ndk-replicant-6.0.zip prebuilts_ndk-replicant-6.0.tar.gz prebuilts_ndk-replicant-6.0.tar.bz2 |
math header: fix for clang toolchainHEADreplicant-6.0-0001replicant-6.0
Change-Id: Id617f610eb6aefdbc9903ded4149a296f5e87a03
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to '9/platforms')
-rw-r--r-- | 9/platforms/android-14/arch-arm/usr/include/math.h | 5 | ||||
-rw-r--r-- | 9/platforms/android-8/arch-arm/usr/include/math.h | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/9/platforms/android-14/arch-arm/usr/include/math.h b/9/platforms/android-14/arch-arm/usr/include/math.h index 7fe24b9..4c773f3 100644 --- a/9/platforms/android-14/arch-arm/usr/include/math.h +++ b/9/platforms/android-14/arch-arm/usr/include/math.h @@ -528,11 +528,6 @@ 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__ >= 7) -int __builtin_isnan(double) __NDK_FPABI_MATH__ __pure2; -#else -/* 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__; long long __builtin_llround(double) __NDK_FPABI_MATH__; diff --git a/9/platforms/android-8/arch-arm/usr/include/math.h b/9/platforms/android-8/arch-arm/usr/include/math.h index 0706a1f..5be7d1c 100644 --- a/9/platforms/android-8/arch-arm/usr/include/math.h +++ b/9/platforms/android-8/arch-arm/usr/include/math.h @@ -523,11 +523,6 @@ 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__ >= 7) -int __builtin_isnan(double) __NDK_FPABI_MATH__ __pure2; -#else -/* 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__; long long __builtin_llround(double) __NDK_FPABI_MATH__; |