summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qfunctions_wince.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qfunctions_wince.h')
-rw-r--r--src/corelib/kernel/qfunctions_wince.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/corelib/kernel/qfunctions_wince.h b/src/corelib/kernel/qfunctions_wince.h
index f83dad0dde..7cd8ea66a2 100644
--- a/src/corelib/kernel/qfunctions_wince.h
+++ b/src/corelib/kernel/qfunctions_wince.h
@@ -182,6 +182,16 @@ void qt_wince_rewind( FILE *stream );
int qt_wince___fileno(FILE *);
FILE *qt_wince_tmpfile( void );
+//For zlib we need these helper functions, but they break the build when
+//set globally, so just set them for zlib use
+#ifdef ZLIB_H
+#define open qt_wince_open
+#define close qt_wince__close
+#define lseek qt_wince__lseek
+#define read qt_wince__read
+#define write qt_wince__write
+#endif
+
int qt_wince__mkdir(const char *dirname);
int qt_wince__rmdir(const char *dirname);
int qt_wince__access( const char *path, int pmode );