[PATCH] aligned_alloc is missing from older glibc

Evgeniy Stepanov eugeni.stepanov at gmail.com
Mon May 13 02:54:37 PDT 2013


Hi,

a recent change that enabled at_quick_exit in cstdlib on linux also
enabled aligned_alloc, which is missing from glibc 2.15 (current
Ubuntu LTS).

This patch fixes the issue by adding glibc version checks on linux.

Please review.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux2.diff
Type: application/octet-stream
Size: 755 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130513/5b0bfc19/attachment.obj>


More information about the cfe-commits mailing list