Move Q_OF_ELF/Q_OF_MACH_O macros to qsystemdetection.h

Task-number: QTBUG-99313
Change-Id: I373fad6f8339a0bad1ebc5d81386b18794bf32cc
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Sona Kurazyan 2022-08-11 13:20:52 +02:00
parent 85414ac6c0
commit 97f6878afd
2 changed files with 7 additions and 7 deletions

View File

@ -47,13 +47,6 @@ inline void qt_noop(void) {}
#include <QtCore/qassert.h>
#include <QtCore/qtypes.h>
#if defined (__ELF__)
# define Q_OF_ELF
#endif
#if defined (__MACH__) && defined (__APPLE__)
# define Q_OF_MACH_O
#endif
/*
Avoid "unused parameter" warnings
*/

View File

@ -253,4 +253,11 @@
#endif
#endif
#if defined (__ELF__)
# define Q_OF_ELF
#endif
#if defined (__MACH__) && defined (__APPLE__)
# define Q_OF_MACH_O
#endif
#endif // QSYSTEMDETECTION_H