summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNate Straz <nstraz@redhat.com>2006-11-16 04:17:02 +0000
committerNathan Straz <nstraz@redhat.com>2008-09-23 09:37:46 -0400
commit9fc82fc82e7248a598b8c8bedd86cecb3c10d1e9 (patch)
tree1234bdb063d6ae9feed841546cda5ed710409ec6 /Makefile
parent5d90b7ceb5e0bd2fd41ded8ec706b04cacfc647c (diff)
downloadqarsh-9fc82fc82e7248a598b8c8bedd86cecb3c10d1e9.tar.gz
qarsh-9fc82fc82e7248a598b8c8bedd86cecb3c10d1e9.tar.xz
qarsh-9fc82fc82e7248a598b8c8bedd86cecb3c10d1e9.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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