[Lazarus] What conditional define can I use to cover all LCL programs on Mac (Classic or OS X)?

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sat Sep 3 14:50:17 CEST 2011


Just go for {$ifdef darwin} which means Mac OS X and also iOS (I think)

I find it extremely unlikely that you are going to compile for the old
Mac OS, but if you really want to, then:

{$if defined(darwin) or defined(macos)}
  {$define allmacosplatforms}
{$endif}

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list