summaryrefslogtreecommitdiffstats
path: root/mkspecs/win32-msvc/qplatformdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/win32-msvc/qplatformdefs.h')
-rw-r--r--mkspecs/win32-msvc/qplatformdefs.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/mkspecs/win32-msvc/qplatformdefs.h b/mkspecs/win32-msvc/qplatformdefs.h
index 5dee28c..abb5894 100644
--- a/mkspecs/win32-msvc/qplatformdefs.h
+++ b/mkspecs/win32-msvc/qplatformdefs.h
@@ -113,21 +113,11 @@
# define QT_OPEN_BINARY _O_BINARY
#endif
-#define QT_FOPEN ::fopen
-#ifdef QT_LARGEFILE_SUPPORT
-#define QT_FSEEK ::fseek
-#define QT_FTELL ::ftell
-#else
-#define QT_FSEEK ::fseek
-#define QT_FTELL ::ftell
-#endif
-#define QT_FGETPOS ::fgetpos
-#define QT_FSETPOS ::fsetpos
-#define QT_FPOS_T fpos_t
+#include "../common/c89/qplatformdefs.h"
+
#ifdef QT_LARGEFILE_SUPPORT
+#undef QT_OFF_T
#define QT_OFF_T __int64
-#else
-#define QT_OFF_T long
#endif
#define QT_SIGNAL_ARGS int