diff options
author | drh <drh@noemail.net> | 2014-02-07 19:33:31 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-02-07 19:33:31 +0000 |
commit | dddf6978d21314e1835630f0e02c65fc231dbec9 (patch) | |
tree | 4364f6fa4615a05b6a74f7041e117891140e981b /src/os_unix.c | |
parent | a198f2b55d716dd03b4a18b4b361c7e092797f3d (diff) | |
download | sqlite-dddf6978d21314e1835630f0e02c65fc231dbec9.tar.gz sqlite-dddf6978d21314e1835630f0e02c65fc231dbec9.zip |
Fix redundant definitions of _LARGE_FILE and _LARGEFILE_SOURCE.
FossilOrigin-Name: 4043d879795bfad55af35e9cb48e0a42eb4087ae
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index b53955022..deb9e51d0 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -84,32 +84,6 @@ #endif /* -** These #defines should enable >2GB file support on Posix if the -** underlying operating system supports it. If the OS lacks -** large file support, these should be no-ops. -** -** Large file support can be disabled using the -DSQLITE_DISABLE_LFS switch -** on the compiler command line. This is necessary if you are compiling -** on a recent machine (ex: RedHat 7.2) but you want your code to work -** on an older machine (ex: RedHat 6.0). If you compile on RedHat 7.2 -** without this option, LFS is enable. But LFS does not exist in the kernel -** in RedHat 6.0, so the code won't work. Hence, for maximum binary -** portability you should omit LFS. -** -** The previous paragraph was written in 2005. (This paragraph is written -** on 2008-11-28.) These days, all Linux kernels support large files, so -** you should probably leave LFS enabled. But some embedded platforms might -** lack LFS in which case the SQLITE_DISABLE_LFS macro might still be useful. -*/ -#ifndef SQLITE_DISABLE_LFS -# define _LARGE_FILE 1 -# ifndef _FILE_OFFSET_BITS -# define _FILE_OFFSET_BITS 64 -# endif -# define _LARGEFILE_SOURCE 1 -#endif - -/* ** standard include files. */ #include <sys/types.h> |