From 9fc82fc82e7248a598b8c8bedd86cecb3c10d1e9 Mon Sep 17 00:00:00 2001 From: Nate Straz Date: Thu, 16 Nov 2006 04:17:02 +0000 Subject: Use off_t instead of size_t so we can transfer files larger than 2GB. I changed all formats from %zd to %lld, but this adds a lot of warnings because off_t isn't the same as long long int to the compiler. I don't know if there is a way to avoid the warnings on all platforms. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7d9427b..aae72f2 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .PHONY: clean clobber uninstall -CFLAGS := -Wall -g -I/usr/include/libxml2 +CFLAGS := -Wall -g -I/usr/include/libxml2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE COMMON := qarsh_packet.c sockutil.c -- cgit