From e179afdbb6fa7bcdc5736dcf1e7d8847dd3c976c Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Mon, 12 Dec 2011 15:22:02 +1000 Subject: Improve definition of QTEST_NO_SPECIALIZATIONS Remove the part of the definition that applies to gcc versions <= 2.x as these versions are not supported by Qt5. Change-Id: Icee6b51ffe78fa30fd7193ef96b6ce0484b8fcae Reviewed-by: Rohan McGovern --- src/testlib/qtest_global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testlib/qtest_global.h') diff --git a/src/testlib/qtest_global.h b/src/testlib/qtest_global.h index 730329a19c..6a40f47f30 100644 --- a/src/testlib/qtest_global.h +++ b/src/testlib/qtest_global.h @@ -60,7 +60,7 @@ QT_MODULE(Test) # endif #endif -#if defined (Q_CC_SUN) || defined (Q_CC_XLC) || (defined (Q_CC_GNU) && (__GNUC__ - 0 < 3)) +#if defined (Q_CC_SUN) || defined (Q_CC_XLC) # define QTEST_NO_SPECIALIZATIONS #endif -- cgit v1.2.3