<p>Am 24.09.2015 14:28 schrieb "Bo Berglund" <<a href="mailto:bo.berglund@gmail.com">bo.berglund@gmail.com</a>>:<br>
> >You should maybe also take a look into using conditional compilation using<br>
> >"$ifdef" and the defines the compiler already provides for you (e.g.<br>
> >"windows", "linux", "unix", "cpui386", "cpuarm", etc.).<br>
><br>
> Right you are!<br>
> BTW is there a define for FPC itself too so I can differentiate<br>
> between Delphi and FPC? THat way I could possibly use the exact same<br>
> sources and not have to make a copy.<br>
> Maybe there is a complete list of the defines in FPC?</p>
<p>The define is "FPC" ;)<br>
The most important defines are available in the programmer's guide: <a href="http://www.freepascal.org/docs-html/prog/progap7.html#x333-348000G">http://www.freepascal.org/docs-html/prog/progap7.html#x333-348000G</a> </p>
<p>><br>
> >Note: in 3.0.0 TThread provides the cross platform class functions<br>
> >TThread.GetTickCount and TThread.GetTickCount64.<br>
><br>
> Is FPC 3.0 stable yet and does it exist on ARM?</p>
<p>We have already released the RC and thus only small fixes are still expected to take place. AFAIK I've also seen a RC for the RPi somewhere...</p>
<p>Regards,<br>
Sven</p>