pupnp / pupnp

libupnp: Build UPnP-compliant control points, devices, and bridges on several operating systems.
https://pupnp.github.io/pupnp
BSD 3-Clause "New" or "Revised" License
349 stars 114 forks source link

disable fseeko usage on 32-bit Android older than API 24 #441

Closed robUx4 closed 3 weeks ago

robUx4 commented 3 weeks ago

feesko is not supported on 32-bit Android older than API 24 [1]. Older SDKs would allow the call but the 64-bit off_t was not accurate. With the NDK26 the call is hidden in that case and calling fseeko() results in a compilation error.

[1] https://android.googlesource.com/platform/bionic/+/main/docs/32-bit-abi.md