aboutsummaryrefslogtreecommitdiffstats
path: root/tests/semaphore_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/semaphore_test.cpp')
-rw-r--r--tests/semaphore_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/semaphore_test.cpp b/tests/semaphore_test.cpp
index 7dc72259a..24a2dbe5b 100644
--- a/tests/semaphore_test.cpp
+++ b/tests/semaphore_test.cpp
@@ -188,7 +188,7 @@ static void* SemWaitEINTRThreadFn(void* arg) {
TEST(semaphore, sem_wait_no_EINTR_in_sdk_less_equal_than_23) {
#if defined(__BIONIC__)
- android_set_application_target_sdk_version(23U);
+ android_set_application_target_sdk_version(__ANDROID_API_M__);
sem_t s;
ASSERT_EQ(0, sem_init(&s, 0, 0));
ScopedSignalHandler handler(SIGUSR1, sem_wait_test_signal_handler);