diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 9e5a16093e5..930252dad3f 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -47,13 +47,6 @@ inline void qt_noop(void) {} #include #include -#if defined (__ELF__) -# define Q_OF_ELF -#endif -#if defined (__MACH__) && defined (__APPLE__) -# define Q_OF_MACH_O -#endif - /* Avoid "unused parameter" warnings */ diff --git a/src/corelib/global/qsystemdetection.h b/src/corelib/global/qsystemdetection.h index a4cc20b5400..b3e13e3c99b 100644 --- a/src/corelib/global/qsystemdetection.h +++ b/src/corelib/global/qsystemdetection.h @@ -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