summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorHarald Fernengel <harald@trolltech.com>2009-06-16 13:41:27 (GMT)
committerHarald Fernengel <harald@trolltech.com>2009-06-16 13:41:27 (GMT)
commit186d66f01e0e489219e82ea732868a0520dc241b (patch)
treed3c9c38f349f0c08e1ff04489dc59a3bb3c20909 /tests/auto
parentcb6cd0e4159606619b1ce708c1b00f8d294cc4bb (diff)
parent228b2f6494ebd95fc66993b00ecab065ec5fe5a5 (diff)
downloadQt-186d66f01e0e489219e82ea732868a0520dc241b.zip
Qt-186d66f01e0e489219e82ea732868a0520dc241b.tar.gz
Qt-186d66f01e0e489219e82ea732868a0520dc241b.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/network-settings.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/network-settings.h b/tests/auto/network-settings.h
index 0924c57..01a732c 100644
--- a/tests/auto/network-settings.h
+++ b/tests/auto/network-settings.h
@@ -50,7 +50,8 @@
#include <QSharedPointer>
#include <QHash>
#endif
-#if defined(Q_OS_SYMBIAN) && defined(Q_CC_NOKIAX86)
+#if defined(Q_OS_SYMBIAN)
+#if defined(Q_CC_NOKIAX86)
// In emulator we use WINSOCK connectivity by default. Unfortunately winsock
// does not work very well with UDP sockets. This defines skips some test
// cases which have known problems.
@@ -59,6 +60,7 @@
// network tests. WINPCAP connectivity uses Symbian OS IP stack,
// correspondingly as HW does. When using WINPCAP disable this define
//#define SYMBIAN_WINSOCK_CONNECTIVITY
+#endif // Q_CC_NOKIAX86
class QtNetworkSettingsRecord {
public:
@@ -80,7 +82,7 @@ private:
QString strRecordValue;
};
-#endif
+#endif // Q_OS_SYMBIAN
class QtNetworkSettings
{