summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorArvid Ephraim Picciani <arvid.picciani@nokia.com>2010-08-17 19:28:45 (GMT)
committerArvid Ephraim Picciani <arvid.picciani@nokia.com>2010-08-27 14:59:16 (GMT)
commit3c2a43f91e0225bde8d6e6d6076dfe2cddbc2f8e (patch)
treee299b1dbc2820c902eed9632b97e63c62f7308b0 /src/corelib/global/qglobal.h
parentde4fdc9743b4b4261ecf86b8891441ea293ba489 (diff)
downloadQt-3c2a43f91e0225bde8d6e6d6076dfe2cddbc2f8e.zip
Qt-3c2a43f91e0225bde8d6e6d6076dfe2cddbc2f8e.tar.gz
Qt-3c2a43f91e0225bde8d6e6d6076dfe2cddbc2f8e.tar.bz2
Optimize plugin loading on ELF platforms
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r--src/corelib/global/qglobal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index a8758cf..ede6dcd 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -2612,6 +2612,12 @@ QT_LICENSED_MODULE(DBus)
# define QT_NO_PROCESS
#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
+#endif
+
QT_END_NAMESPACE
QT_END_HEADER