Re: [PATCH] Check for existence of mempcpy

2017-02-17 Thread Ulf Hermann
> If at all possible I would like elfutils to not turn into some > abstraction layer for broken non-GNU/Linux systems. I don't mind small > (mostly) obvious correct defines/checks or tweaks to help out people > using such broken systems. But if we need a lot more of these things I > think we

[PATCH] Check for existence of mempcpy

2017-02-16 Thread Ulf Hermann
If it doesn't exist, provide a definition based on memcpy. Signed-off-by: Ulf Hermann --- ChangeLog | 4 configure.ac | 3 +++ lib/ChangeLog | 5 + lib/system.h | 5 + lib/xstrndup.c