diff options
author | Takumi ASAKI <takumi.asaki@nokia.com> | 2009-09-17 11:30:18 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-09-17 12:06:26 (GMT) |
commit | 5a29ceba42840add7a1dcf205c76e39065bee18d (patch) | |
tree | 9ada358b5c0c5fd571a9d9b627133ecb912fae67 /src | |
parent | ddf9e97d6700b78711632d352f84c469d000f97b (diff) | |
download | Qt-5a29ceba42840add7a1dcf205c76e39065bee18d.zip Qt-5a29ceba42840add7a1dcf205c76e39065bee18d.tar.gz Qt-5a29ceba42840add7a1dcf205c76e39065bee18d.tar.bz2 |
compile fix for embedded Linux and defined QT_COORD_TYPE
If we define QT_COORD_TYPE, src/testlib doesn't compile for embedded
Linux.
Reviewed-By: joerg
Diffstat (limited to 'src')
-rw-r--r-- | src/testlib/qtestcase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestcase.h b/src/testlib/qtestcase.h index edc6219..4f11f66 100644 --- a/src/testlib/qtestcase.h +++ b/src/testlib/qtestcase.h @@ -218,7 +218,7 @@ namespace QTest template <typename T1, typename T2> bool qCompare(T1 const &, T2 const &, const char *, const char *, const char *, int); -#if defined(QT_ARCH_WINDOWSCE) && defined(QT_COORD_TYPE) +#if defined(QT_COORD_TYPE) && (defined(QT_ARCH_ARM) || defined(QT_NO_FPU) || defined(QT_ARCH_WINDOWSCE)) template <> inline bool qCompare<qreal, float>(qreal const &t1, float const &t2, const char *actual, const char *expected, const char *file, int line) |