From 9a91f77da6ca77eb0b2e87d2d21d8cee038e8d02 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 17 Nov 2006 15:47:22 +0000 Subject: [PATCH] added #define _FILE_OFFSET_BITS 64 to reduce problems with video recording on 32bit unix platforms (64bit Linux builds do not seem to have problems with this to begin with) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6621 d7cf8633-e32d-0410-b094-e92efae38249 --- fs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs.c b/fs.c index b7b74d92..a2337b0e 100644 --- a/fs.c +++ b/fs.c @@ -22,6 +22,9 @@ 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 -- 2.39.2