author | Wan Yong <wanyong@gmail.com> | 2011-03-29 07:49:27 (GMT) |
---|---|---|
committer | Wan Yong <wanyong@gmail.com> | 2011-03-29 07:49:27 (GMT) |
commit | dc9335048d6aa42088d5ab63653d86f7c2e39200 (patch) | |
tree | 81698344810bb98b86ffba29bb3f56165e9be638 | |
parent | 7811c9cfca123e84ab4fe8f5d3bdf09a0c412b1c (diff) | |
download | ntfs-3g-dc9335048d6aa42088d5ab63653d86f7c2e39200.zip ntfs-3g-dc9335048d6aa42088d5ab63653d86f7c2e39200.tar.gz ntfs-3g-dc9335048d6aa42088d5ab63653d86f7c2e39200.tar.bz2 |
off_t --> loff_t to fix >2G file access
-rwxr-xr-x | config.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -41,7 +41,9 @@ #define HAVE_DUP2 1 /* Define to 1 if you have the <endian.h> header file. */ +#ifndef HAVE_ENDIAN_H #define HAVE_ENDIAN_H 1 +#endif /* Define to 1 if you have the <errno.h> header file. */ #define HAVE_ERRNO_H 1 @@ -333,6 +335,12 @@ /* Number of bits in a file offset, on hosts where this is settable. */ #define _FILE_OFFSET_BITS 64 +#ifndef _OFF_T_DEFINED_ +#define _OFF_T_DEFINED_ +//typedef loff_t off_t; +#define off_t loff_t +#endif + /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 |