diff options
| author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2010-01-15 22:07:44 +0000 |
|---|---|---|
| committer | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2010-01-20 20:13:07 +0000 |
| commit | cfe3a027ab12506d4144ee8a35669ae8fc4b7ab1 (patch) | |
| tree | 4f1355c91100d12f9e7202f91b245df0c110867c /src/common.h | |
| parent | 960ca1d7799e02b72ca828373c3fff04e2cf0334 (diff) | |
| download | libgit2-cfe3a027ab12506d4144ee8a35669ae8fc4b7ab1.tar.gz | |
Use a 64 bit off_t throughout the library and tests on POSIX
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Diffstat (limited to 'src/common.h')
| -rw-r--r-- | src/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
