From: havoc Date: Tue, 5 Jul 2005 13:12:23 +0000 (+0000) Subject: use 32bit fs_offset_t on windows (even win64 doesn't support 64bit file offsets on... X-Git-Tag: xonotic-v0.1.0preview~4678 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7c0a94ce469446d270191a82ceba736d867522d5;p=xonotic%2Fdarkplaces.git use 32bit fs_offset_t on windows (even win64 doesn't support 64bit file offsets on lseek/read/write) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5508 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/fs.h b/fs.h index 0047c076..b0398d72 100644 --- 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