Skip to content

Commit

Permalink
Stop shadowing __pure2 in math.h.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
DanAlbert committed Sep 29, 2016
1 parent 7c8a5e0 commit 17f4026
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions ndk/platforms/android-13/include/math.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
#include <sys/types.h>
#include <limits.h>

#define __pure2

/*
* ANSI/POSIX
*/
Expand Down
2 changes: 0 additions & 2 deletions ndk/platforms/android-18/include/math.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
#include <sys/types.h>
#include <limits.h>

#define __pure2

/*
* ANSI/POSIX
*/
Expand Down
2 changes: 0 additions & 2 deletions ndk/platforms/android-9/include/math.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
#include <sys/types.h>
#include <limits.h>

#define __pure2

/*
* ANSI/POSIX
*/
Expand Down

0 comments on commit 17f4026

Please sign in to comment.