]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
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 0047c0761b1455df77c431c4d5a6849bd65efff1..b0398d722582ccf192cb2500d74e18b78a1beec2 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