[flac-dev] How to check for 64-bit CPU?
Thomas Zander
thomas.e.zander at googlemail.com
Wed Dec 30 02:57:14 PST 2015
On 29 December 2015 at 08:08, Erik de Castro Lopo <mle+la at mega-nerd.com> 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
Riggs
More information about the flac-dev
mailing list