From: Joel Rosdahl Date: Wed, 2 Sep 2020 07:51:54 +0000 (+0200) Subject: Set _FILE_OFFSET_BITS to 64 X-Git-Tag: v3.7.12~6 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=c7c34057718366fd91a6804b297b61c4396a9814;p=thirdparty%2Fccache.git Set _FILE_OFFSET_BITS to 64 This allows for operating on large files when compiled in 32-bit mode. Fixes #649. --- diff --git a/src/system.h b/src/system.h index c669553c4..1e03c99d9 100644 --- a/src/system.h +++ b/src/system.h @@ -1,4 +1,4 @@ -// Copyright (C) 2010-2016 Joel Rosdahl +// Copyright (C) 2010-2020 Joel Rosdahl // // This program is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by the Free @@ -19,6 +19,10 @@ #include "config.h" +#ifndef _FILE_OFFSET_BITS +#define _FILE_OFFSET_BITS 64 +#endif + #include #ifdef HAVE_SYS_MMAN_H #include