diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-11-10 14:02:48 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-11-11 17:34:31 (GMT) |
commit | ad12a3b0b00803a348ff755dfa5288a647e7ff1b (patch) | |
tree | 7a73892aac5ae2cb5090760fc714038f6c6cf366 /src | |
parent | 6f381e1d43b53a05c4c0aedc8bc6b25d92dbfc93 (diff) | |
download | Qt-ad12a3b0b00803a348ff755dfa5288a647e7ff1b.zip Qt-ad12a3b0b00803a348ff755dfa5288a647e7ff1b.tar.gz Qt-ad12a3b0b00803a348ff755dfa5288a647e7ff1b.tar.bz2 |
make qfunctions_wince.h C compatible again
Reviewed-by: mauricek
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/kernel/qfunctions_wince.h | 4 |
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); |