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}



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to