diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2012-04-05 10:24:41 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-05 15:23:30 +0200 |
commit | 2d89850b23eefe1ca497e8480191138badd17847 (patch) | |
tree | 8fb0989610b79ebb109902d10126eb082d92f455 /src/corelib/global | |
parent | 4a11611c8a5084acaa68e6adc4c32eda9ca672ec (diff) |
Enable variadic macros for MSVC >= 2005
Change-Id: I8793ea0f6e3a640276b073321d29373b2ed18d63
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/qcompilerdetection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index c9f59454b2..ef3d2816cc 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -101,6 +101,10 @@ # undef QT_HAVE_3DNOW # endif +# if defined(Q_CC_MSVC) && _MSC_VER >= 1400 +# define Q_COMPILER_VARIADIC_MACROS +# endif + #if defined(Q_CC_MSVC) && _MSC_VER >= 1600 # define Q_COMPILER_RVALUE_REFS # define Q_COMPILER_AUTO_TYPE |