On 30.12.2015 13:57, Thomas Zander wrote: > On 29 December 2015 at 08:08, Erik de Castro Lopo wrote: > >> I would suggest: >> >> #if SIZEOF_VOIDP == 8 > > I believe this is not portable. At least on my machine ("4.2.1 > Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032)") > it's not defined. Probably this one comes closest: > #define __SIZEOF_POINTER__ 8 >
Guys, you do know that there are canned, portable autoconf macros for checking things like variable sizes at configuration/compilation time, right? -- O< ascii ribbon - stop html email! - www.asciiribbon.org
signature.asc
Description: OpenPGP digital signature
_______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev