summaryrefslogtreecommitdiffstats
path: root/mkspecs/win32-msvc.net/qplatformdefs.h
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-10-27 14:57:54 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-10-27 15:04:20 (GMT)
commit22b223c31ff961f52f62eaf20aa571b71dfe3bb8 (patch)
treeecb3ed6102a32293fc3026c1ec0e7d2b708d5dbe /mkspecs/win32-msvc.net/qplatformdefs.h
parentb65eac5fa966a47b0ffe8e111553052fd4dffb40 (diff)
downloadQt-22b223c31ff961f52f62eaf20aa571b71dfe3bb8.zip
Qt-22b223c31ff961f52f62eaf20aa571b71dfe3bb8.tar.gz
Qt-22b223c31ff961f52f62eaf20aa571b71dfe3bb8.tar.bz2
(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/win32-msvc.net/qplatformdefs.h')
-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 19f9ba4..e3e287e 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