summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtest_global.h
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-12-12 15:22:02 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-12 06:43:39 +0100
commite179afdbb6fa7bcdc5736dcf1e7d8847dd3c976c (patch)
tree450c5c3674df7fdc6d6690a62f5561c7c9168949 /src/testlib/qtest_global.h
parentc5ee721795178ce38c61daf0f8bec0e762bdc3d7 (diff)
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 <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/testlib/qtest_global.h')
-rw-r--r--src/testlib/qtest_global.h2
1 files changed, 1 insertions, 1 deletions
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