diff options
author | João Abecasis <joao@trolltech.com> | 2010-01-15 12:26:17 +0100 |
---|---|---|
committer | João Abecasis <joao@trolltech.com> | 2010-01-22 17:50:19 +0100 |
commit | 784946b8ea8b932924a831504387661d66170ca0 (patch) | |
tree | 4e369a848b163d6f28e23f4ff065cc0999a1d60a /mkspecs/sco-cc | |
parent | 44232675a87c766b48d8f3d70d04dee6538a6caf (diff) | |
download | qt4-tools-784946b8ea8b932924a831504387661d66170ca0.tar.gz |
Refactor common C89 support out of individual qplatformdefs.h
Reviewed-by: Thiago Macieira
Diffstat (limited to 'mkspecs/sco-cc')
-rw-r--r-- | mkspecs/sco-cc/qplatformdefs.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/mkspecs/sco-cc/qplatformdefs.h b/mkspecs/sco-cc/qplatformdefs.h index b5427c99f1..df129006ad 100644 --- a/mkspecs/sco-cc/qplatformdefs.h +++ b/mkspecs/sco-cc/qplatformdefs.h @@ -76,15 +76,18 @@ #include <net/if.h> #endif -#define QT_FOPEN ::fopen +#include "../common/c89/qplatformdefs.h" + +#undef QT_FSEEK +#undef QT_FTELL +#undef QT_OFF_T + #define QT_FSEEK ::fseeko #define QT_FTELL ::ftello -#define QT_FGETPOS ::fgetpos -#define QT_FSETPOS ::fsetpos -#define QT_MMAP ::mmap -#define QT_FPOS_T fpos_t #define QT_OFF_T off_t +#define QT_MMAP ::mmap + #define QT_STATBUF struct stat #define QT_STATBUF4TSTAT struct stat #define QT_STAT ::stat |