tests/auto/qprocess/testProcessSpacesArgs/main.cpp
changeset 33 3e2da88830cd
parent 18 2f34d5167611
--- a/tests/auto/qprocess/testProcessSpacesArgs/main.cpp	Tue Jul 06 15:10:48 2010 +0300
+++ b/tests/auto/qprocess/testProcessSpacesArgs/main.cpp	Wed Aug 18 10:37:55 2010 +0300
@@ -44,9 +44,14 @@
 
 int main(int argc, char ** argv)
 {
-#if defined(__SYMBIAN32__)
+#if defined(__SYMBIAN32__) || defined(WINCE) || defined(_WIN32_WCE)
+# if defined(__SYMBIAN32__)
     // Printing to stdout messes up the out.txt, so open a file and print there.
     FILE* file = fopen("c:\\logs\\qprocess_args_test.txt","w+");
+# else
+    // No pipes on this "OS"
+    FILE* file = fopen("\\temp\\qprocess_args_test.txt","w+");
+# endif
     for (int i = 0; i < argc; ++i) {
         if (i)
             fprintf(file, "|");