Fix hack to force usage of fcntl() in Linux sysroots
When I initiailly created this hack in [1], the intention was to always use fcntl() over fcntl64(), however the hack was written to invert the _FILE_OFFSET_BITS=64, but not when it's set to a value like 32, as is the case in some projects. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1862623 BUG=b/147463741 R=thakis Change-Id: I4e9b58dbe45888573fa5789ca487e8ed87d8c99b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2070025Reviewed-by:Nico Weber <thakis@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#743999}
Showing
Please register or sign in to comment