From: Martin Pool Date: Fri, 16 Mar 2001 05:23:33 +0000 (+0000) Subject: Define _LARGE_FILES to turn on LFS support on AIX (and some others?). X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/b557c4c7eb79fe3ecd1107486a0fce132095f5f9 Define _LARGE_FILES to turn on LFS support on AIX (and some others?). See http://www.rs6000.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/genprogc/prg_lrg_files.htm Thanks to Todd Willeat --- diff --git a/rsync.h b/rsync.h index cb138be2..29b09b50 100644 --- a/rsync.h +++ b/rsync.h @@ -79,6 +79,13 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 }; #define RSYNC_RSH "rsh" #endif +/* This tries to turn on large file support on some Unix platforms, + * making off_t be a 64-bit type, and so on. + * + * http://www.rs6000.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/genprogc/prg_lrg_files.htm + */ +#define _LARGE_FILES 1 + #include #ifdef HAVE_UNISTD_H