blob: 1c01ec368ba6f1d12951f602e5aca39870fd0017 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
author: Fathi Boudra <fboudra@free.fr>
Fix arm FTBFS.
--- qt4-x11-4.3.2.orig/tools/qtestlib/src/qtestcase.h
+++ qt4-x11-4.3.2/tools/qtestlib/src/qtestcase.h
@@ -210,7 +210,7 @@
template <typename T1, typename T2>
bool qCompare(T1 const &, T2 const &, const char *, const char *, const char *, int);
-#if defined(QT_COORD_TYPE) || defined(__arm__)
+#if defined(QT_COORD_TYPE) || defined(QT_ARCH_ARM)
template <>
inline bool qCompare<qreal, double>(qreal const &t1, double const &t2, const char *actual,
const char *expected, const char *file, int line)
|