summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2012-05-15 14:57:05 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-01 03:16:14 +0200
commit72bd1c3228c8c816be74ab0432028424c688b979 (patch)
treec9fb69bbab1803cd4acaa073ad23af7a7573a195 /src/corelib/global/qglobal.h
parent9469e9fdebff5cb280da800908991ec580a000f6 (diff)
Unconditionally enable Q_OF_ELF for any ELF platform
Just enable ELF stuff on any platform which uses ELF format, instead of a selected subsets of those. Change-Id: I0753c020c718bc67b4b50c3957fe8dc10afd2c61 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r--src/corelib/global/qglobal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 5abbbe4cf4..38655f1776 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -1190,9 +1190,7 @@ Q_CORE_EXPORT int qrand();
#endif
#if defined (__ELF__)
-# if defined (Q_OS_LINUX) || defined (Q_OS_SOLARIS) || defined (Q_OS_FREEBSD) || defined (Q_OS_OPENBSD) || defined (Q_OS_IRIX)
-# define Q_OF_ELF
-# endif
+# define Q_OF_ELF
#endif
#if !defined(QT_BOOTSTRAPPED) && defined(QT_REDUCE_RELOCATIONS) && defined(__ELF__) && !defined(__PIC__)