aboutsummaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2018-03-29 15:17:04 -0700
committerDan Albert <danalbert@google.com>2018-03-29 15:44:07 -0700
commit05aeeb1ec1fb97a79415f06b55425f40c07c0974 (patch)
tree0478df15e28404e606fc6ad6b764533035d04555 /sources
parentc066f37aeadeb8a8b21468ad8c82f4469fb5a70d (diff)
downloadndk-05aeeb1ec1fb97a79415f06b55425f40c07c0974.tar.gz
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
Diffstat (limited to 'sources')
-rw-r--r--sources/android/support/include/stdlib.h2
1 files changed, 1 insertions, 1 deletions
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