diff options
Diffstat (limited to 'src/corelib/plugin/qelfparser_p.cpp')
-rw-r--r-- | src/corelib/plugin/qelfparser_p.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/corelib/plugin/qelfparser_p.cpp b/src/corelib/plugin/qelfparser_p.cpp index b0c23d58b6..6ebfaff21e 100644 --- a/src/corelib/plugin/qelfparser_p.cpp +++ b/src/corelib/plugin/qelfparser_p.cpp @@ -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; @@ -128,10 +133,8 @@ struct ElfMachineCheck #elif defined(Q_PROCESSOR_SH) EM_SH #elif defined(Q_PROCESSOR_SPARC_V9) -# warning "Please confirm that this is correct for Linux and Solaris" EM_SPARCV9 #elif defined(Q_PROCESSOR_SPARC_64) -# warning "Please confirm that this is correct for Linux and Solaris" EM_SPARCV9 #elif defined(Q_PROCESSOR_SPARC) EM_SPARC |