[pulseaudio-discuss] [PATCH v2] netbsd: Replace nonstandard __WORDSIZE with a more portable solution

Kamil Rytarowski n54 at gmx.com
Wed Dec 16 01:01:43 PST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 15.12.2015 13:58, Pali Rohár wrote:
> Hello! See my review notes below.
> 
> On Tuesday 15 December 2015 12:47:40 Kamil Rytarowski wrote:
>> There is no way to check CPU type in a portable way across ABIs. 
>> Checking for sizeof(void*) is reasonable since most platforms
>> will report correct values. One exception is x32, but since it's
>> halfbaked never finished and almost not needed any more - we can
>> ignore it.
> 
> Note that x32 is used in Linux world by e.g Debian or Gentoo. I do
> not like to filter it just because of NetBSD.
> 

OK, I will try to prepare a new patch removing the checks at all.

I don't know any portable way around.

Thanks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWcSh0AAoJEEuzCOmwLnZsBqIQAL1NjepNzB6jCf+noNP4BfbF
gb2j5QYccHqTmhOGLQml+kY+VgjT6Mh/w+RMvsYPzxaPk9qZ2GboI8YkYvr+OI4a
l/hg2wQ09Dyirjy/plBvsRfg1Ejm13irIEIcjYuRqvew84Ob9mN2VNSSdJ1+5NxE
/IIWz6kH1EXH/nIABLXaIdAyVKv21A3Krmim+vkezwN7PB7WwEbdJqvsqwZaaVph
rp/a76hf7PAuWs7GeOMVP4PiRRtEPunRdbT1lwkY5s4orpbnTHw8WQIrA9qiw1Jf
5Mn1pQlgdoBgTKQ9atDx8tlbmYIlj6/jb5CSIXKa3RmEkcr7oZI2SYSJ0SZF6Xnf
gwWWZkc9Ct08f3eHQee5y7qSqOs4+nRKPn9uZBnV5ECKqs5rXiX3KoBPTCP1UC3+
vXRVtX5x33R/WWUVEkc7DVRytTgjlTg6xw5wUv5XJZyuVHqok1PpK8d3Mqhsn/Cs
Wajz3V7FGWwNMfXUsUV1NdL+ukLDQc1GKBOO3TKcAi0YVOjy1TIdHWyaFjkwwNUB
t9jtzG4XmpvXaQzM2NA7NCBaFf0lIJQFTVUuPV2l7qK34eBLetPTy5sI/yFIxtJ1
EByUpq5yPBFeTkT8Afan2siu2gk2b3rpzDNVuk/kbjQ+zxkmuqMfAnjhlYjUd2bw
JgbTUirkAKk+ExnBJMun
=8HEA
-----END PGP SIGNATURE-----


More information about the pulseaudio-discuss mailing list