[systemd-devel] [PATCH] bus: Use memalign() if aligned_alloc() isn't available

Kay Sievers kay at vrfy.org
Wed Apr 17 09:07:23 PDT 2013


On Wed, Apr 17, 2013 at 5:49 PM, Henrik Grindal Bakken <hgb at ifi.uio.no> wrote:
> Use <features.h> and _GNU_SOURCE to determine if _ISOC11_SOURCE is
> available, and with that, aligned_alloc().

Can't you just define the missing function in missing.h to the one we
use, instead of directly blowing up the code with compat stuff and
ifdefs?

Kay


More information about the systemd-devel mailing list