libelf: Use int64_t for offsets in libelf.h sandbox/mkashkarov/tizen_6.0_build
authorMikhail Kashkarov <m.kashkarov@partner.samsung.com>
Tue, 24 Dec 2019 05:53:55 +0000 (08:53 +0300)
committerMikhail Kashkarov <m.kashkarov@partner.samsung.com>
Tue, 24 Dec 2019 05:53:55 +0000 (08:53 +0300)
commit8ccbec8726c58fec3104a28d3a40e71e1e210855
treea56eb9ab9e696c11109f2c5231ecdf17bb100c38
parent7c7e4eb2f2e6be8b399e517ac6e1bb59b5b409df
libelf: Use int64_t for offsets in libelf.h

Some systems don't have loff_t, like FreeBSD where off_t always supports
large files.  We need a standardized 64-bit signed type for the public
header, without depending on configuration... OK, just use int64_t.

Signed-off-by: Josh Stone <jistone@redhat.com>
(Backported from commit b1d0b0fc7ef850851574031851cd36d114ea30e7)
ChangeLog
lib/libelf.h