From 17f4026295d6709d5751f3875a342970965c75b2 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 29 Sep 2016 10:04:21 -0700 Subject: [PATCH] Stop shadowing __pure2 in math.h. I'd actually fixed sys/cdefs.h quite some time ago, but that definition of __pure2 was being clobbered by the bogus one in math.h. Test: clang -E -dM --sysroot $NDK/platforms/android-9/arch-arm/ \ platforms/android-9/include/math.h | grep __pure2 Bug: http://b.android.com/62020 Change-Id: I9b93a7c46075a02ed1ea0ca2cc77624b15955c7f --- ndk/platforms/android-13/include/math.h | 2 -- ndk/platforms/android-18/include/math.h | 2 -- ndk/platforms/android-9/include/math.h | 2 -- 3 files changed, 6 deletions(-) diff --git a/ndk/platforms/android-13/include/math.h b/ndk/platforms/android-13/include/math.h index 541f6055ff2..1eb975e8d17 100644 --- a/ndk/platforms/android-13/include/math.h +++ b/ndk/platforms/android-13/include/math.h @@ -21,8 +21,6 @@ #include #include -#define __pure2 - /* * ANSI/POSIX */ diff --git a/ndk/platforms/android-18/include/math.h b/ndk/platforms/android-18/include/math.h index 4198842e490..da4d9946bff 100644 --- a/ndk/platforms/android-18/include/math.h +++ b/ndk/platforms/android-18/include/math.h @@ -21,8 +21,6 @@ #include #include -#define __pure2 - /* * ANSI/POSIX */ diff --git a/ndk/platforms/android-9/include/math.h b/ndk/platforms/android-9/include/math.h index 3b5660f305b..9f63ea0bbb5 100644 --- a/ndk/platforms/android-9/include/math.h +++ b/ndk/platforms/android-9/include/math.h @@ -21,8 +21,6 @@ #include #include -#define __pure2 - /* * ANSI/POSIX */