Q_OF_ELF is internal, generalize by checking only if __ELF__ is defined
while at it
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Q_CORE_EXPORT void qsrand(uint seed);
Q_CORE_EXPORT int qrand();
-#if defined (__ELF__)
-# if defined (Q_OS_LINUX) || defined (Q_OS_SOLARIS) || defined (Q_OS_FREEBSD) || defined (Q_OS_OPENBSD)
-# define Q_OF_ELF
-# endif
-#endif
-
QT_END_NAMESPACE
QT_END_HEADER
#define Q_EXPORT_PLUGIN(PLUGIN) \
Q_EXPORT_PLUGIN2(PLUGIN, PLUGIN)
-#if defined(Q_OF_ELF) && (defined(Q_CC_GNU) || defined(Q_CC_CLANG))
+#if defined(__ELF__) && (defined(Q_CC_GNU) || defined(Q_CC_CLANG))
# define Q_PLUGIN_VERIFICATION_SECTION \
__attribute__ ((section (".ktplugin"))) __attribute__((used))
#else