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




"Peter Billam" <peter@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:slrnef4u2h.mnv.peter@xxxxxxxxxxxxxxxxxxxxxxxx
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 ?


I don't really know, and am not in a position to test .... is there
something in config.h that can be used ?

Cheers,
Rob



.



Relevant Pages


Quantcast