From 2d89850b23eefe1ca497e8480191138badd17847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Abecasis?= Date: Thu, 5 Apr 2012 10:24:41 +0200 Subject: [PATCH] Enable variadic macros for MSVC >= 2005 Change-Id: I8793ea0f6e3a640276b073321d29373b2ed18d63 Reviewed-by: Friedemann Kleint --- src/corelib/global/qcompilerdetection.h | 4 ++++ 1 file changed, 4 insertions(+) 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