]> git.ipfire.org Git - thirdparty/elfutils.git/commit
Make __attribute__ conditional in all installed headers
authorUlf Hermann <ulf.hermann@qt.io>
Thu, 20 Apr 2017 13:55:47 +0000 (15:55 +0200)
committerMark Wielaard <mark@klomp.org>
Tue, 2 May 2017 11:07:28 +0000 (13:07 +0200)
commitc73a00d82bbb7196c517f61cdf14c09b2b16a668
tree24cee57d746d82fae3cc18672c145e36ac00c727
parentab293bfbc76a0fa5461bcbdb105332a9f1d85892
Make __attribute__ conditional in all installed headers

__attribute__ is a GNU extension. If we want to link against the
libraries using a different compiler, it needs to be disabled. It was
already disabled in libdw.h, and this patch extends this to the other
headers. We move the defines to libelf.h as that is included in all
the others.

Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
libdw/ChangeLog
libdw/libdw.h
libdwfl/ChangeLog
libdwfl/libdwfl.h
libebl/ChangeLog
libebl/libebl.h
libelf/ChangeLog
libelf/libelf.h