On 01/13/2016 11:29 AM, Sven Barth wrote:

Am 13.01.2016 17:03 schrieb "Donald Ziesig" <don...@ziesig.org <mailto:don...@ziesig.org>>:
>
> Hi Everyone!
>
> Are there any conditional defines that let me exclude PI-specific code when compiling for 64-bit amd linux (or vice-versa)?
>
> I can define my own if necessary, but that is one more thing to worry about when switching machines.

Raspberry Pi is an ARM so you could check for CPUARM. 64-bit x86 Linux would be CPUX86_64 (for completeness: CPUI386 is for 32-bit x86).

Regards,
Sven



--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Thanks - just what I needed.
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to