From afb63a82ae165b6630a35ab5945973358c8119b6 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 21 Dec 2016 21:09:59 -0500 Subject: Set _FILE_OFFSET_BITS to 64 With the new support for -size n[TP], this is needed to avoid overflow on 32-bit platforms. --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0143857..b8d2b5b 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,7 @@ LOCAL_CPPFLAGS := \ -D_ATFILE_SOURCE \ -D__EXTENSIONS__ \ -D_DARWIN_C_SOURCE \ + -D_FILE_OFFSET_BITS=64 \ -DBFS_VERSION=\"$(VERSION)\" LOCAL_CFLAGS := -std=c99 -- cgit v1.2.3