Skip to contentSkip to conversation

aplay,axfer: Replace off64_t with off_t

DISCUSSION GitHub pull_request - opened 1 participant 1 message Dec 15, 2022 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-utils pull request #183 was opened from kraj:

Also replace lseek64 with lseek.

_FILE_OFFSET_BITS=64 is passed to needed platforms since configure uses AC_SYS_LARGEFILE macro. Therefore off_t is already 64-bit and lseek is same as lseek64.

Additionally this fixes buils with latest musl where these lfs64 functions are moved out from _GNU_SOURCE and under _LARGEFILE64_SOURCE macro alone. This makes the builds fail on 32-bit platforms even though default off_t on musl is 64-bit always.

Request URL : https://github.com/alsa-project/alsa-utils/pull/183
Patch URL : https://github.com/alsa-project/alsa-utils/pull/183.patch
Repository URL: https://github.com/alsa-project/alsa-utils