martinpitt / umockdev

Mock hardware devices for creating unit tests and bug reporting
https://launchpad.net/umockdev
GNU Lesser General Public License v2.1
308 stars 54 forks source link

preload: Re-fix time64 redirects for glibc < 2.39.9 #243

Closed martinpitt closed 3 months ago

martinpitt commented 3 months ago

glibc 2.38 in Debian doesn't know about __USE_TIME64_REDIRECTS yet, so no redirection took place. Curiously this only broke on Debian/Ubuntu ARM architectures, nowhere else.

Apply some guesswork to define __USE_TIME64_REDIRECTS ourselves in the right circumstances.