summaryrefslogtreecommitdiff
path: root/src/corelib/global
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-10-28 10:41:17 +0100
committermread <qt-info@nokia.com>2010-09-30 15:48:22 +0100
commit6dc208237977886056622b307941900658288e13 (patch)
treed1c8c6fa652b03a9cae45b7327f658ef26151146 /src/corelib/global
parent6d5309c2fbdbf15948b430de103f393c5af5b7cd (diff)
downloadqt4-tools-6dc208237977886056622b307941900658288e13.tar.gz
Add the new allocator to corelib
New export in corelib that is called from the qtmain wrapper to setup the thread heap. This allows 7k of code to be shared, and makes it easier to disable or upgrade the allocator in future releases Task-number: QTBUG-4895 Enable new allocator by default Rename of headers as _p.h to avoid syncqt adding them to applications move inline functions from .inl -> .h, document & rename macros remove #if 0 from the dla header, implement getpagesize properly squashed after sanitisation Task-number: QT-3967 Reviewed-by: mread
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qglobal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 6ef15d4ce5..9c90fbf9d5 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -2451,6 +2451,9 @@ QT3_SUPPORT Q_CORE_EXPORT const char *qInstallPathSysconf();
#endif
#endif
+//Enable the (backported) new allocator. When it is available in OS,
+//this flag should be disabled for that OS version onward
+#define QT_USE_NEW_SYMBIAN_ALLOCATOR
//Symbian does not support data imports from a DLL
#define Q_NO_DATA_RELOCATION