Remove reference to non-existent __LP32__.
Since there is no 64-bit before 21, there's no need for us to talk about bitness at all. Bug: https://github.com/android-ndk/ndk/issues/481 Test: builds Change-Id: I307466997df35d7f1d0eef7dc7cb35ac3033d25d
This commit is contained in:
parent
cc3639b3ee
commit
0138c46794
1 changed files with 1 additions and 2 deletions
|
@ -152,7 +152,7 @@ int pthread_mutex_timedlock(pthread_mutex_t*, const struct timespec* )
|
|||
int pthread_mutex_trylock(pthread_mutex_t*);
|
||||
int pthread_mutex_unlock(pthread_mutex_t*);
|
||||
|
||||
#if defined(__LP32__) && __ANDROID_API__ < 21
|
||||
#if __ANDROID_API__ < 21
|
||||
/*
|
||||
* Cruft for supporting old API levels. Pre-L we didn't have the proper POSIX
|
||||
* APIs for things, but instead had some locally grown, artisan equivalents.
|
||||
|
@ -164,7 +164,6 @@ int pthread_mutex_unlock(pthread_mutex_t*);
|
|||
* * https://github.com/android-ndk/ndk/issues/423
|
||||
* * https://stackoverflow.com/q/44580542/632035
|
||||
*/
|
||||
|
||||
int pthread_mutex_lock_timeout_np(pthread_mutex_t* mutex, unsigned msecs);
|
||||
int pthread_cond_timeout_np(pthread_cond_t* cond, pthread_mutex_t* mutex, unsigned msecs);
|
||||
int pthread_cond_timedwait_monotonic_np(pthread_cond_t*, pthread_mutex_t*, const struct timespec*);
|
||||
|
|
Loading…
Reference in a new issue