summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-11-10 14:02:48 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-11-13 12:03:48 (GMT)
commit1ca48abcfcfabc7f26be0e42f6080c9b6ba3b68e (patch)
treeef384aedec1064a11cd2abae99b20a8358918471
parent8b6edd3b576ffb586b53bcd3b93e6654e03cd83d (diff)
downloadQt-1ca48abcfcfabc7f26be0e42f6080c9b6ba3b68e.zip
Qt-1ca48abcfcfabc7f26be0e42f6080c9b6ba3b68e.tar.gz
Qt-1ca48abcfcfabc7f26be0e42f6080c9b6ba3b68e.tar.bz2
make qfunctions_wince.h C compatible again
Reviewed-by: mauricek (cherry picked from commit 3569a2c930ee171e4f1e05d0407cee7c971c721d)
-rw-r--r--src/corelib/kernel/qfunctions_wince.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/kernel/qfunctions_wince.h b/src/corelib/kernel/qfunctions_wince.h
index 020a6c7..ad9d3a1 100644
--- a/src/corelib/kernel/qfunctions_wince.h
+++ b/src/corelib/kernel/qfunctions_wince.h
@@ -192,7 +192,11 @@ int qt_wince__rmdir(const char *dirname);
int qt_wince__access( const char *path, int pmode );
int qt_wince__rename( const char *oldname, const char *newname );
int qt_wince__remove( const char *name );
+#ifdef __cplusplus
int qt_wince_open( const char *filename, int oflag, int pmode = 0 );
+#else
+int qt_wince_open( const char *filename, int oflag, int pmode );
+#endif
int qt_wince_stat( const char *path, struct stat *buffer );
int qt_wince__fstat( int handle, struct stat *buffer);