summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjoern Breitmeyer <bjoern.breitmeyer@kdab.com>2015-08-03 18:08:41 +0200
committerBjörn Breitmeyer <bjoern.breitmeyer@kdab.com>2015-08-04 07:16:42 +0000
commit51d979ec84a7cdcd777ecde88479ce8692ccf5cd (patch)
tree217061430ea5d96f33076a2656175ec842ea0883 /src
parentcaf00c9e340dac6a525c61927c62c5f9a928812f (diff)
downloadqtsvg-51d979ec84a7cdcd777ecde88479ce8692ccf5cd.tar.gz
Fix Qt svg build for WEC2013
Change-Id: I2fb05270eb946536c50938f40bc54853acc84e98 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/svg/qsvgfunctions_wince.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/svg/qsvgfunctions_wince.cpp b/src/svg/qsvgfunctions_wince.cpp
index 108c31f..d2e63ca 100644
--- a/src/svg/qsvgfunctions_wince.cpp
+++ b/src/svg/qsvgfunctions_wince.cpp
@@ -36,7 +36,9 @@
#include <winbase.h>
#include <kfuncs.h>
#include <stdio.h>
+#if _WIN32_WCE < 0x800
#include <altcecrt.h>
+#endif
#include "qplatformdefs.h"
#include "qsvgfunctions_wince_p.h"
@@ -51,6 +53,7 @@ extern "C" {
#endif
// File I/O ---------------------------------------------------------
+#if _WIN32_WCE < 0x800
int errno = 0;
int qt_wince_open(const char *filename, int oflag, int pmode)
@@ -116,6 +119,7 @@ int qt_wince__close(int handle)
return 0;
return fclose((FILE*)handle);
}
+#endif
#ifdef __cplusplus
} // extern "C"