From cfe3a027ab12506d4144ee8a35669ae8fc4b7ab1 Mon Sep 17 00:00:00 2001 From: Ramsay Jones Date: Fri, 15 Jan 2010 22:07:44 +0000 Subject: Use a 64 bit off_t throughout the library and tests on POSIX Signed-off-by: Ramsay Jones --- src/common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index a73891d7c..5cb9d1b56 100644 --- a/src/common.h +++ b/src/common.h @@ -1,6 +1,9 @@ #ifndef INCLUDE_common_h__ #define INCLUDE_common_h__ +/** Force 64 bit off_t size on POSIX. */ +#define _FILE_OFFSET_BITS 64 + #if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__) #define GIT_WIN32 1 #endif -- cgit v1.2.1