diff options
author | João Abecasis <joao@trolltech.com> | 2010-01-15 11:26:17 (GMT) |
---|---|---|
committer | João Abecasis <joao@trolltech.com> | 2010-01-22 16:50:19 (GMT) |
commit | 784946b8ea8b932924a831504387661d66170ca0 (patch) | |
tree | 4e369a848b163d6f28e23f4ff065cc0999a1d60a /mkspecs/cygwin-g++ | |
parent | 44232675a87c766b48d8f3d70d04dee6538a6caf (diff) | |
download | Qt-784946b8ea8b932924a831504387661d66170ca0.zip Qt-784946b8ea8b932924a831504387661d66170ca0.tar.gz Qt-784946b8ea8b932924a831504387661d66170ca0.tar.bz2 |
Refactor common C89 support out of individual qplatformdefs.h
Reviewed-by: Thiago Macieira
Diffstat (limited to 'mkspecs/cygwin-g++')
-rw-r--r-- | mkspecs/cygwin-g++/qplatformdefs.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/mkspecs/cygwin-g++/qplatformdefs.h b/mkspecs/cygwin-g++/qplatformdefs.h index 9b3be62..2927945 100644 --- a/mkspecs/cygwin-g++/qplatformdefs.h +++ b/mkspecs/cygwin-g++/qplatformdefs.h @@ -81,6 +81,7 @@ //#include <windows.h> #include <netinet/in.h> +#include "../common/c89/qplatformdefs.h" #define QT_STATBUF struct stat #define QT_STATBUF4TSTAT struct stat @@ -113,15 +114,7 @@ #define QT_OPEN_CREAT O_CREAT #define QT_OPEN_TRUNC O_TRUNC #define QT_OPEN_APPEND O_APPEND -#define QT_FOPEN ::fopen -#define QT_FOPEN ::fopen -#define QT_FSEEK ::fseek -#define QT_FTELL ::ftell -#define QT_FGETPOS ::fgetpos -#define QT_FSETPOS ::fsetpos #define QT_MMAP ::mmap -#define QT_FPOS_T fpos_t -#define QT_OFF_T long #define QT_SIGNAL_RETTYPE void #define QT_SIGNAL_ARGS int |