On Wed, 2017-05-03 at 18:03 +0200, Ulf Hermann wrote: > We don't use those anywhere else and they are not guaranteed to be > defined. Also, put the 'extern "C"' after the included headers.
Note that elf.h is somewhat special. We import it as-is from glibc and like to not have divergence if at all possible. So could you try submitting to glibc upstream first? (libc-al...@sourceware.org) They might say they expect your features.h to provide these macros. But they might also just take the change as is. If not we'll figure something out for elfutils. Thanks, Mark