mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-05-24 06:45:27 -04:00
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 <TWilleat@MHP.SMHS.com>
This commit is contained in:
7
rsync.h
7
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 <sys/types.h>
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
||||
Reference in New Issue
Block a user