summaryrefslogtreecommitdiff
path: root/tools/xmlpatterns/main.cpp
diff options
context:
space:
mode:
authorBjoern Breitmeyer <bjoern.breitmeyer@kdab.com>2015-08-03 18:13:18 +0200
committerBjörn Breitmeyer <bjoern.breitmeyer@kdab.com>2015-08-03 21:29:09 +0000
commit3fddc82a4689f073670a75b079fed22ab84a9679 (patch)
treed564f0af4bd4531b877a8f623a85c953fbd39257 /tools/xmlpatterns/main.cpp
parent1f62708c86bb94ca17834d035aa19014ae178e08 (diff)
downloadqtxmlpatterns-3fddc82a4689f073670a75b079fed22ab84a9679.tar.gz
Fixing WEC2013 build of QtXmlPatterns
Change-Id: I54541c588dfa76180ffdf99ac0ed2f6cdc8cfdc4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'tools/xmlpatterns/main.cpp')
-rw-r--r--tools/xmlpatterns/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xmlpatterns/main.cpp b/tools/xmlpatterns/main.cpp
index 0c8140c..00d41b3 100644
--- a/tools/xmlpatterns/main.cpp
+++ b/tools/xmlpatterns/main.cpp
@@ -52,7 +52,7 @@
#include "qapplicationargument_p.h"
#include "qapplicationargumentparser_p.h"
-#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE)
+#if defined(Q_OS_WIN) && (!defined(_WIN32_WCE) || _WIN32_WCE >= 0x800)
/* Needed for opening stdout with _fdopen & friends. io.h seems to not be
* needed on MinGW though. */
#include <io.h>