Conditional compile if 64-bit cpu, in .xs ?
- From: Peter Billam <peter@xxxxxxxxxxxxxxxxxxxx>
- Date: 28 Aug 2006 15:00:01 +1100
Greetings xs folk. Suppose I have a bug-fix in a .xs file looking like
v0 &= 0xffffffff;
which is only necessary on 64-bit architectures... For speed reasons
I'd like to not include that line on 32-bit machines. Is there some
convenient
#ifdef 64whatever
v0 &= 0xffffffff;
#endif
defined by the xs that I can use ?
Regards, Peter
--
AUS/TAS/DPIW/CIT/Servers hbt/lnd/l8 6233 3061 http://www.pjb.com.au
Pasaré, pasarémos dice el agua y canta la verdad contra la piedra
-- Pablo Neruda
.
- Follow-Ups:
- Re: Conditional compile if 64-bit cpu, in .xs ?
- From: Sisyphus
- Re: Conditional compile if 64-bit cpu, in .xs ?
- From: Ilya Zakharevich
- Re: Conditional compile if 64-bit cpu, in .xs ?
- Prev by Date: Net::Server - problem getting STDERR (or is it STDERR??)
- Next by Date: Re: Conditional compile if 64-bit cpu, in .xs ?
- Previous by thread: Net::Server - problem getting STDERR (or is it STDERR??)
- Next by thread: Re: Conditional compile if 64-bit cpu, in .xs ?
- Index(es):
Relevant Pages
|