[Lazarus] patch for rx.inc define linux_darwin definition

FreeMan freeman35 at delphiturkiye.com
Fri Feb 27 17:35:41 CET 2015


Yes, you right, thank you, no need define new variable, Just change in 
codes ifdef linux to ifdef unix is enough.

On 27.02.2015 17:26, Marco van de Voort wrote:
> Better use:
>
> {$ifdef unix} // FPC  all *nixes including Linux,Darwin, *BSD and Solaris
>   {$define Linux_Darwin}
> {$endif}
>
> {$ifdef Linux}              // legacy Kylix
>   {$define Linux_Darwin}
> {$endif}
>





More information about the Lazarus mailing list