OSDN Git Service

_FILE_OFFSET_BITS=64 support for asset_manager.h.
authorDan Albert <danalbert@google.com>
Mon, 17 Jul 2017 21:03:29 +0000 (14:03 -0700)
committerDan Albert <danalbert@google.com>
Tue, 18 Jul 2017 17:46:24 +0000 (10:46 -0700)
commiteab5af99417c6d46cddf4a6f13a3945132e2961b
tree7c695a4811286bb76bcca6f3aa14302c79119aa1
parent8a094116b1a2b5478945116c1c5c07bba1810aa5
_FILE_OFFSET_BITS=64 support for asset_manager.h.

Rename off_t based functions to their 64-bit equivalents if we're in
LP32 with a 64-bit off_t.

We can safely do this for all supported API levels now since API 13 is
no longer supported. Clean up all the guards for that API level while
I'm here.

Test: make checkbuild
Bug: https://github.com/android-ndk/ndk/issues/459
Change-Id: I7032e94c7288f87b4895411079216f0ac2cab6bc
include/android/asset_manager.h