Created attachment 116329 [details] defines __WORDSIZE on platforms that do not define it src/tests/mult-s16-test.c uses the glibc-specific internal macro __WORDSIZE for data size testing and should not as it is a non-portable define specific to glibc. src/pulsecore/sample-util.h also uses this non-portable define. A portable option would be preferred to the use of __WORDSIZE, but barring that, the attached patch at least defines it on platforms where it is not.
Thanks for the patch! I was wondering if it would be better to replace __WORDSIZE with __LP64__ altogether. Do you (or Peter Meerwald) have any opinion on this?
I have no particular opinion on this; as long as it doesn't rely on the glibc-specific macro to determine this, it doesn't matter to me.
This appears to have been fixed by https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=7c1a5d61597b8a7b762f8295c7d791942dba3fb5
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.