[libc++] Fix aligned_alloc usage for Android
authorShoaib Meenai <smeenai@fb.com>
Sat, 7 Jan 2023 07:35:15 +0000 (23:35 -0800)
committerShoaib Meenai <smeenai@fb.com>
Tue, 10 Jan 2023 14:25:50 +0000 (06:25 -0800)
commit49c8f903efea3e31cca115d4bc2ebb00b6463d7f
tree99dfc3ec6a6fb24e4de09fc2500efa672e02f444
parent022f5ad3ec18e7a77fc5c0cd7ec5754379b8fe3e
[libc++] Fix aligned_alloc usage for Android

Android only provides this function on API 28+; fix libc++ builds when
targeting older API levels.

Reviewed By: arichardson, #libc, philnik

Differential Revision: https://reviews.llvm.org/D141184
libcxx/include/__config