[Python-Dev] Solaris family and 64 bits compiling

Antoine Pitrou solipsis at pitrou.net
Tue Nov 23 01:06:12 CET 2010


On 2010年11月23日 00:48:06 +0100
Jesus Cea <jcea at jcea.es> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>> I think this is probably trivial, but is there any foolproof way to
> detect 64 bit builds in python, beside "sys.maxint"?.

sys.maxsize
> And any macro useable for conditional compilation in C?.

SIZEOF_VOID_P > 4


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /