summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-09-03 08:44:16 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-09-03 10:57:02 (GMT)
commit605aa0cf1889110620dc0d5d84066be8177fe9c2 (patch)
tree6e072df94cd80f5d7a45962058521bfa33e19d06 /src/corelib/global/qglobal.h
parent9b072cc5e91e45dbef4effabefc091461eccccc3 (diff)
downloadQt-605aa0cf1889110620dc0d5d84066be8177fe9c2.zip
Qt-605aa0cf1889110620dc0d5d84066be8177fe9c2.tar.gz
Qt-605aa0cf1889110620dc0d5d84066be8177fe9c2.tar.bz2
Add define for c++0x initilizer lists
Reviewed-by: Joao
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r--src/corelib/global/qglobal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index f9879cd..02196e4 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -486,6 +486,7 @@ namespace QT_NAMESPACE {}
# define Q_COMPILER_EXTERN_TEMPLATES
# define Q_COMPILER_DEFAULT_DELETE_MEMBERS
# define Q_COMPILER_CLASS_ENUM
+# define Q_COMPILER_INITIALIZER_LISTS
# endif
# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405
/* C++0x features supported in GCC 4.5: */