corelib: Support ELFOSABI_LINUX in qelfparser
ELFOSABI_LINUX is the old name for ELFOSABI_GNU and some systems (NetBSD 9) with an old elf.h still use that define instead of ELFOSABI_GNU. Change-Id: I3d18efe117ea21f13831df5293b4efce99694294 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit ded2fd9ff4fea06af881229bacaeff5d0ecfa6de) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
f4eb4c5f30
commit
74f8266e33
@ -20,6 +20,11 @@
|
||||
# error "Need ELF header to parse plugins."
|
||||
#endif
|
||||
|
||||
// Support older ELFOSABI define for GNU/Linux
|
||||
#if !defined(ELFOSABI_GNU) && defined(ELFOSABI_LINUX)
|
||||
# define ELFOSABI_GNU ELFOSABI_LINUX
|
||||
#endif
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
using namespace Qt::StringLiterals;
|
||||
|
Loading…
x
Reference in New Issue
Block a user