summaryrefslogtreecommitdiffstats
path: root/mkspecs/darwin-g++/qplatformdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/darwin-g++/qplatformdefs.h')
-rw-r--r--mkspecs/darwin-g++/qplatformdefs.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/mkspecs/darwin-g++/qplatformdefs.h b/mkspecs/darwin-g++/qplatformdefs.h
index 5aea69f..4a378ba 100644
--- a/mkspecs/darwin-g++/qplatformdefs.h
+++ b/mkspecs/darwin-g++/qplatformdefs.h
@@ -74,15 +74,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