summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2011-12-27 15:06:57 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-29 03:20:53 +0100
commitfb9b5d65d89d74050cf8cbb62485a70b54e3a1c6 (patch)
tree873832b7988e9f69dc0bc4e2d8e9283639634421 /src/corelib/global/qglobal.h
parentb4557829f47fd293fcf7fc73d705a7b11e3fb49b (diff)
Enable variadic macros if building in c++0x mode.
Change-Id: I40d1f1f64ad31a299ccad9258f70e9bf3255c3cd Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
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 c60796ccf1..e75118fc3a 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -482,6 +482,7 @@ namespace QT_NAMESPACE {}
# if defined(__GXX_EXPERIMENTAL_CXX0X__)
# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 403
/* C++0x features supported in GCC 4.3: */
+# define Q_COMPILER_VARIADIC_MACROS
# define Q_COMPILER_RVALUE_REFS
# define Q_COMPILER_DECLTYPE
# define Q_COMPILER_STATIC_ASSERT