summaryrefslogtreecommitdiffstats
path: root/mkspecs/win32-borland
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/win32-borland')
-rw-r--r--mkspecs/win32-borland/qplatformdefs.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/mkspecs/win32-borland/qplatformdefs.h b/mkspecs/win32-borland/qplatformdefs.h
index 4efae9a..d8fa4c2 100644
--- a/mkspecs/win32-borland/qplatformdefs.h
+++ b/mkspecs/win32-borland/qplatformdefs.h
@@ -96,21 +96,16 @@
# define QT_STAT_LNK _S_IFLNK
#endif
-#define QT_FOPEN ::fopen
+#include "../common/c89/qplatformdefs.h"
+
#ifdef QT_LARGEFILE_SUPPORT
+#undef QT_FSEEK
+#undef QT_FTELL
+#undef QT_OFF_T
+
#define QT_FSEEK ::_fseeki64
#define QT_FTELL ::_ftelli64
-#else
-#define QT_FSEEK ::fseek
-#define QT_FTELL ::ftell
-#endif
-#define QT_FGETPOS ::fgetpos
-#define QT_FSETPOS ::fsetpos
-#define QT_FPOS_T fpos_t
-#ifdef QT_LARGEFILE_SUPPORT
#define QT_OFF_T __int64
-#else
-#define QT_OFF_T long
#endif
#define QT_FILENO _fileno