diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-11-10 14:02:48 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-11-10 14:02:48 (GMT) |
commit | 3569a2c930ee171e4f1e05d0407cee7c971c721d (patch) | |
tree | d005d42ceaabbdda34f9b3fa8f50f278fc775d3d /src/corelib/kernel | |
parent | 900c2dbe627346d298ee5ad3d10b42d7eb9d5c56 (diff) | |
download | Qt-3569a2c930ee171e4f1e05d0407cee7c971c721d.zip Qt-3569a2c930ee171e4f1e05d0407cee7c971c721d.tar.gz Qt-3569a2c930ee171e4f1e05d0407cee7c971c721d.tar.bz2 |
make qfunctions_wince.h C compatible again
Reviewed-by: mauricek
Diffstat (limited to 'src/corelib/kernel')
-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); |