Conditional compile if 64-bit cpu, in .xs ?



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
.



Relevant Pages

  • Re: 2.6.18 Headers - Long
    ... Those architectures don't need to drag down the rest. ... > Plenty of headers are only exported for some architectures. ... there are folk still want ... That's actually more of a reason to take away the toys they shouldn't ...
    (Linux-Kernel)
  • Re: Conditional compile if 64-bit cpu, in .xs ?
    ... [A complimentary Cc of this posting was sent to ... Peter Billam ... which is only necessary on 64-bit architectures... ... For speed reasons ...
    (comp.lang.perl.modules)
  • Re: Conditional compile if 64-bit cpu, in .xs ?
    ... which is only necessary on 64-bit architectures... ... For speed reasons ... I'd like to not include that line on 32-bit machines. ...
    (comp.lang.perl.modules)