diff options
author | Elliott Hughes <enh@google.com> | 2018-10-17 14:27:36 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-10-17 14:27:36 -0700 |
commit | eb6143037423a241ba8035304936149b300f7a5d (patch) | |
tree | add55935abdf6bc16c16c6edc111b376a3e3c933 /libc/include/android/api-level.h | |
parent | ecf0c7515d4416ab4bf708b303ab7beab79a6f2b (diff) |
Don't #define __ANDROID_NDK__ for the platform build!
Caused an ODR violation trying to build current ToT of toybox.
Bug: N/A
Test: can successfully build code with `#ifdef __ANDROID_NDK__`
Change-Id: Ia80b8889b267779ee01f6257744e1794db0ebc65
Diffstat (limited to 'libc/include/android/api-level.h')
-rw-r--r-- | libc/include/android/api-level.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/include/android/api-level.h b/libc/include/android/api-level.h index ebce9000d..3a8f92663 100644 --- a/libc/include/android/api-level.h +++ b/libc/include/android/api-level.h @@ -51,12 +51,6 @@ * compiler/build system based on the API level you claimed to target. */ #define __ANDROID_API__ __ANDROID_API_FUTURE__ -#else -/** - * `__ANDROID_NDK__` is defined for code that's built by the NDK - * rather than as part of the OS. - */ -#define __ANDROID_NDK__ 1 #endif /** Names the Gingerbread API level (9), for comparisons against __ANDROID_API__. */ |