From 05aeeb1ec1fb97a79415f06b55425f40c07c0974 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 29 Mar 2018 15:17:04 -0700 Subject: Declare posix_memalign for android-16. This wasn't available for all android-16 devices. Test: ./checkbuild.py && ./run_tests.py Bug: https://github.com/android-ndk/ndk/issues/647 Change-Id: Idd03a15b0b61dc40e594598fac158a90efe398b0 --- sources/android/support/include/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sources') diff --git a/sources/android/support/include/stdlib.h b/sources/android/support/include/stdlib.h index 49cf895de..93e384d90 100644 --- a/sources/android/support/include/stdlib.h +++ b/sources/android/support/include/stdlib.h @@ -33,7 +33,7 @@ __BEGIN_DECLS -#if __ANDROID_API__ < __ANDROID_API_J__ +#if __ANDROID_API__ < __ANDROID_API_J_MR1__ int posix_memalign(void** memptr, size_t alignment, size_t size); #endif -- cgit v1.2.3