summaryrefslogtreecommitdiff
path: root/mkspecs
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-10-27 15:57:54 +0100
committerJoão Abecasis <joao@abecasis.name>2009-10-27 16:04:20 +0100
commit22b223c31ff961f52f62eaf20aa571b71dfe3bb8 (patch)
treeecb3ed6102a32293fc3026c1ec0e7d2b708d5dbe /mkspecs
parentb65eac5fa966a47b0ffe8e111553052fd4dffb40 (diff)
downloadqt4-tools-22b223c31ff961f52f62eaf20aa571b71dfe3bb8.tar.gz
(MSVC 2002/2003) Use 64-bit versions of ftell and fseek
MSDN documents these as being available since Windows 95. Reviewed-by: Marius Storm-Olsen
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/win32-msvc.net/qplatformdefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/win32-msvc.net/qplatformdefs.h b/mkspecs/win32-msvc.net/qplatformdefs.h
index 19f9ba436c..e3e287e59c 100644
--- a/mkspecs/win32-msvc.net/qplatformdefs.h
+++ b/mkspecs/win32-msvc.net/qplatformdefs.h
@@ -115,8 +115,8 @@
#define QT_FOPEN ::fopen
#ifdef QT_LARGEFILE_SUPPORT
-#define QT_FSEEK ::fseek
-#define QT_FTELL ::ftell
+#define QT_FSEEK ::_fseeki64
+#define QT_FTELL ::_ftelli64
#else
#define QT_FSEEK ::fseek
#define QT_FTELL ::ftell