X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=fs.c;h=8f66fe884efe43babe3c4fa69d18fe18d0506c22;hb=a6cd51357b59bc588e47d3827953340c4de33d12;hp=a4d173c40233c2b90dde3edebbd9ba44ff4d4b06;hpb=c7df8736a1173c3dd1f7f30c2b722f102e6e816e;p=xonotic%2Fdarkplaces.git diff --git a/fs.c b/fs.c index a4d173c4..8f66fe88 100644 --- a/fs.c +++ b/fs.c @@ -22,9 +22,6 @@ Boston, MA 02111-1307, USA */ -// on UNIX platforms we need to define this so that video saving does not cause a SIGFSZ (file size) signal when a video clip exceeds 2GB -#define _FILE_OFFSET_BITS 64 - #include "quakedef.h" #include @@ -52,6 +49,10 @@ # define O_NONBLOCK 0 #endif +// largefile support for Win32 +#ifdef WIN32 +# define lseek _lseeki64 +#endif /*