diff options
author | Elliott Hughes <enh@google.com> | 2018-11-09 15:38:52 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-11-15 11:07:30 -0800 |
commit | c0f46564528c7bec8d490e62633e962f2007b8f4 (patch) | |
tree | 4dabb94963f869576828c5d169e74956f527031a /tests/android_get_device_api_level.cpp | |
parent | 83590680649dc04ce8a98cd85b6356e1d6066564 (diff) |
Make android_get_application_target_sdk_version available to the NDK.
Also move this and android_get_device_api_level into <android/api-level.h>
so that they're always available.
This involves cleaning up <sys/cdefs.h> slightly.
Bug: N/A
Test: builds
Change-Id: I25435c55f3549cd0d827a7581bee75ea8228028b
Diffstat (limited to 'tests/android_get_device_api_level.cpp')
-rw-r--r-- | tests/android_get_device_api_level.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/android_get_device_api_level.cpp b/tests/android_get_device_api_level.cpp index 5272a489a..066240456 100644 --- a/tests/android_get_device_api_level.cpp +++ b/tests/android_get_device_api_level.cpp @@ -29,7 +29,7 @@ #include <gtest/gtest.h> #if __BIONIC__ -#include <android/get_device_api_level.h> +#include <android/api-level.h> #endif TEST(android_get_device_api_level, smoke) { |