Re: [mpg123-devel] [PATCH] fix lfs_alias_t type for Android
Brought to you by:
sobukus
From: Thomas O. <tho...@or...> - 2020-06-03 06:26:34
|
Hi Steve, Am Tue, 2 Jun 2020 09:58:28 +0200 schrieb mpg123@ycbcr.xyz: > @@ -1168,8 +1169,8 @@ if test "x$largefile_sensitive" = xyes; then > lfs_alias_type=long > lfs_alias_size=$ac_cv_sizeof_long > else > - lfs_alias_type=off_t > - lfs_alias_size=$ac_cv_sizeof_off_t > + lfs_alias_type=off64_t > + lfs_alias_size=$ac_cv_sizeof_off64_t > fi That breaks my normal 64 bit Linux build where I really want off_t in there (oh, the foolery of the many names of a 64 bit integer there …). Android needs off64_t instead of off_t? Doesn't that map to 64 bits? Anyhow, can you wrap this into another if block that checks for Android? Alrighty then, Thomas |