added #define _FILE_OFFSET_BITS 64 to reduce problems with video recording on 32bit...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Nov 2006 15:47:22 +0000 (15:47 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Nov 2006 15:47:22 +0000 (15:47 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6621 d7cf8633-e32d-0410-b094-e92efae38249

fs.c

diff --git a/fs.c b/fs.c
index b7b74d9..a2337b0 100644 (file)
--- 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 <limits.h>