summaryrefslogtreecommitdiff
path: root/mkspecs/unixware-cc
diff options
context:
space:
mode:
authorJoão Abecasis <joao@trolltech.com>2010-01-15 12:26:17 +0100
committerJoão Abecasis <joao@trolltech.com>2010-01-22 17:50:19 +0100
commit784946b8ea8b932924a831504387661d66170ca0 (patch)
tree4e369a848b163d6f28e23f4ff065cc0999a1d60a /mkspecs/unixware-cc
parent44232675a87c766b48d8f3d70d04dee6538a6caf (diff)
downloadqt4-tools-784946b8ea8b932924a831504387661d66170ca0.tar.gz
Refactor common C89 support out of individual qplatformdefs.h
Reviewed-by: Thiago Macieira
Diffstat (limited to 'mkspecs/unixware-cc')
-rw-r--r--mkspecs/unixware-cc/qplatformdefs.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/mkspecs/unixware-cc/qplatformdefs.h b/mkspecs/unixware-cc/qplatformdefs.h
index e314713a3f..cdcd3a3184 100644
--- a/mkspecs/unixware-cc/qplatformdefs.h
+++ b/mkspecs/unixware-cc/qplatformdefs.h
@@ -76,15 +76,13 @@
#include <net/if.h>
#endif
-#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
+#include "../common/c89/qplatformdefs.h"
+
+#undef QT_OFF_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