[fpc-pascal] Hardware

Adrian Maier adrian.maier at gmail.com
Wed Aug 23 08:13:39 CEST 2006


On 22/08/06, "Fabrício F. Kammer" <ffkammer at conchalnet.com.br> wrote:
> Thanks A.J.
>
> Do you know where can I get some example of how to do this?

> Is it possible to have a conditional compile to do this?

You can achieve conditiional compiling with {$ifdef } :

{$ifdef  Win32}
   { .....  windows specific stuff .... }
{$endif}

{$ifdef  linux}
   { .....  linux specific stuff .... }
{$endif}


-- 
Adrian Maier



More information about the fpc-pascal mailing list