]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
Fix time for old 32bit systems
authorOlliver Schinagl <oliver@schinagl.nl>
Fri, 4 Aug 2023 12:26:20 +0000 (14:26 +0200)
committerFlole998 <Flole998@users.noreply.github.com>
Fri, 4 Aug 2023 15:23:03 +0000 (17:23 +0200)
commit1c22d866f336d4d38dc0679a0cb03b11237c48fc
treeb8037357b097369594a20cff524a5d6a3b86aa77
parentd50105999522cc7c35909f7c0f2a504fc40c2e1b
Fix time for old 32bit systems

The fix introduced in fe47ecb5504a ("Fix time for 32bit systems again")
made the incorrect assumption, that the macro _TIME_BITS=64 was always
available. It seems like that this is not the case for old systems,
causing 32bit builds to break there.

Lets completely rework 32bit time support, by actually detecting the
hosts size for the time.

This will break cross-compilation, as the configure script is run on the
host, but since we do not seem to support cross-builds anyway (all archs
are build on emulated or native targets), this should be acceptable.

Fixes fe47ecb5504a ("Fix time for 32bit systems again")

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
configure
src/tvheadend.h