Re: Conditional compile if 64-bit cpu, in .xs ?
- From: Ilya Zakharevich <nospam-abuse@xxxxxxxxx>
- Date: Mon, 28 Aug 2006 07:27:22 +0000 (UTC)
[A complimentary Cc of this posting was sent to
Peter Billam
<contact.html@xxxxxxxxxxxxxx>], who wrote in article <slrnef4u2h.mnv.peter@xxxxxxxxxxxxxxxxxxxxx>:
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 ?
Why? Just add -DMY_64bit_FIX_NEEDED in Makefile.PL after inspecting
%Config *for the conditions you need*, not some "random thing" being
64-bit...
Hope this helps,
Ilya
.
- Follow-Ups:
- Re: Conditional compile if 64-bit cpu, in .xs ?
- From: Peter Billam
- Re: Conditional compile if 64-bit cpu, in .xs ?
- References:
- Conditional compile if 64-bit cpu, in .xs ?
- From: Peter Billam
- Conditional compile if 64-bit cpu, in .xs ?
- Prev by Date: Conditional compile if 64-bit cpu, in .xs ?
- Next by Date: Re: Conditional compile if 64-bit cpu, in .xs ?
- Previous by thread: Conditional compile if 64-bit cpu, in .xs ?
- Next by thread: Re: Conditional compile if 64-bit cpu, in .xs ?
- Index(es):
Relevant Pages
|
|