diff options
author | Jason Barron <jbarron@trolltech.com> | 2009-07-29 08:47:43 (GMT) |
---|---|---|
committer | Jason Barron <jbarron@trolltech.com> | 2009-07-29 08:47:43 (GMT) |
commit | 813fc3574a006cb2687715ccf7bdb984a485b173 (patch) | |
tree | f6ab6d0dd9e02d4bb626905fd985f71b41881fad /src | |
parent | 77bd318b2892ad2a6beefee84c8e1436f4f7f386 (diff) | |
download | Qt-813fc3574a006cb2687715ccf7bdb984a485b173.zip Qt-813fc3574a006cb2687715ccf7bdb984a485b173.tar.gz Qt-813fc3574a006cb2687715ccf7bdb984a485b173.tar.bz2 |
Fix compilation of QTestLib on Symbian.
Open C doesn't support signals so #ifdef this code out.
Diffstat (limited to 'src')
-rw-r--r-- | src/testlib/qtestcase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index a8a4b1a..e2e385a 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -1425,7 +1425,7 @@ static void qInvokeTestMethods(QObject *testObject) QTestLog::stopLogging(); } -#ifdef Q_OS_UNIX +#if defined(Q_OS_UNIX) && !defined(Q_OS_SYMBIAN) class FatalSignalHandler { public: @@ -1601,7 +1601,7 @@ int QTest::qExec(QObject *testObject, int argc, char **argv) } else #endif { -#ifdef Q_OS_UNIX +#if defined(Q_OS_UNIX) && !defined(Q_OS_SYMBIAN) FatalSignalHandler handler; #endif qInvokeTestMethods(testObject); |