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:
parent
85414ac6c0
commit
97f6878afd
@ -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
|
||||
*/
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user