summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtcpserver/crashingServer/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qtcpserver/crashingServer/main.cpp')
-rw-r--r--tests/auto/qtcpserver/crashingServer/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qtcpserver/crashingServer/main.cpp b/tests/auto/qtcpserver/crashingServer/main.cpp
index 6df3f83..f135d26 100644
--- a/tests/auto/qtcpserver/crashingServer/main.cpp
+++ b/tests/auto/qtcpserver/crashingServer/main.cpp
@@ -53,15 +53,15 @@ int main(int argc, char *argv[])
return 1;
}
-#if !defined(Q_OS_WINCE)
- printf("Listening\n");
- fflush(stdout);
-#else
+#if defined(Q_OS_WINCE) || defined(Q_OS_SYMBIAN)
QFile file(QLatin1String("/test_signal.txt"));
file.open(QIODevice::WriteOnly);
file.write("Listening\n");
file.flush();
file.close();
+#else
+ printf("Listening\n");
+ fflush(stdout);
#endif
server.waitForNewConnection(5000);