From b97e911643341cb31e6b97029b9ffd96fc675b1d Mon Sep 17 00:00:00 2001 From: Martin Waitz Date: Sat, 17 Feb 2007 10:13:10 +0100 Subject: Support for large files on 32bit systems. Glibc uses the same size for int and off_t by default. In order to support large pack sizes (>2GB) we force Glibc to a 64bit off_t. Signed-off-by: Martin Waitz Signed-off-by: Junio C Hamano diff --git a/git-compat-util.h b/git-compat-util.h index d027c36..5d154fa 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -1,6 +1,8 @@ #ifndef GIT_COMPAT_UTIL_H #define GIT_COMPAT_UTIL_H +#define _FILE_OFFSET_BITS 64 + #ifndef FLEX_ARRAY #if defined(__GNUC__) && (__GNUC__ < 3) #define FLEX_ARRAY 0 -- cgit v0.10.2-6-g49f6