]> git.refcnt.org Git - colorize.git/commitdiff
Support files larger than 2GB on 32-bit systems
authorSteven Schubiger <stsc@refcnt.org>
Sat, 10 Jan 2015 22:18:11 +0000 (23:18 +0100)
committerSteven Schubiger <stsc@refcnt.org>
Sat, 10 Jan 2015 22:18:11 +0000 (23:18 +0100)
colorize.c

index 7babb864816adbb7940c7bd1defafb218ce72bda..718b74d6f77b67c8ffaefc7c36307cc21111fbf5 100644 (file)
@@ -21,6 +21,7 @@
 
 #define _BSD_SOURCE
 #define _XOPEN_SOURCE 700
+#define _FILE_OFFSET_BITS 64
 #include <assert.h>
 #include <ctype.h>
 #include <errno.h>