use 32bit fs_offset_t on windows (even win64 doesn't support 64bit file offsets on...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Jul 2005 13:12:23 +0000 (13:12 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Jul 2005 13:12:23 +0000 (13:12 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5508 d7cf8633-e32d-0410-b094-e92efae38249

fs.h

diff --git a/fs.h b/fs.h
index 0047c07..b0398d7 100644 (file)
--- a/fs.h
+++ b/fs.h
@@ -31,7 +31,8 @@
 typedef struct qfile_s qfile_t;
 
 #ifdef WIN32
-typedef _int64 fs_offset_t;
+typedef long fs_offset_t; // 32bit
+//typedef _int64 fs_offset_t; // 64bit (lots of warnings, and lseek/read/write still don't take 64bit on win64)
 #else
 typedef long long fs_offset_t;
 #endif