[Lazarus] Conditional Defines for Raspberry PI?

Donald Ziesig donald at ziesig.org
Wed Jan 13 17:36:09 CET 2016


On 01/13/2016 11:29 AM, Sven Barth wrote:
>
> Am 13.01.2016 17:03 schrieb "Donald Ziesig" <donald at ziesig.org 
> <mailto:donald at 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 at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Thanks - just what I needed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160113/75dffc1a/attachment-0003.html>


More information about the Lazarus mailing list