diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 21:23:07 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 21:23:07 +0000 |
commit | 49930c3ae4d0bb40b94cfde0425e8c825a526144 (patch) | |
tree | 010ee4721b79bdfd7a22ef0ff7efe56630582b39 /build | |
parent | 6ae23b8bfb3ee39e3a158b4b83a2230dcfe06c45 (diff) | |
download | chromium_src-49930c3ae4d0bb40b94cfde0425e8c825a526144.zip chromium_src-49930c3ae4d0bb40b94cfde0425e8c825a526144.tar.gz chromium_src-49930c3ae4d0bb40b94cfde0425e8c825a526144.tar.bz2 |
Define _FILE_OFFSET_BITS=64 in order to support large files (>2GB).
_FILE_OFFSET_BITS=64 is incompatible with fts (issue 17492), so
file_util::Delete, file_util::CopyDirectory file_util::FileEnumerator are
reimplemented without fts. Delete and CopyDirectory are now implemented using
FileEnumerator.
Patch from vandebo@google.com, original review:
http://codereview.chromium.org/160479
BUG=13718,17492
TEST=none
Review URL: http://codereview.chromium.org/165085
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22670 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 13178ba..9212844 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -342,6 +342,7 @@ '-pthread', '-fno-exceptions', '-Wall', + '-D_FILE_OFFSET_BITS=64', ], 'cflags_cc': [ '-fno-threadsafe-statics', |