mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 08:48:03 +02:00
22 lines
432 B
ObjectPascal
22 lines
432 B
ObjectPascal
unit objc;
|
|
|
|
{$ifdef darwin}
|
|
{$define targethandled}
|
|
|
|
{$linklib objc}
|
|
|
|
{$if defined(iphonesim) or defined(cpuarm) or defined(cpux86_64) or defined(cpupowerpc64) or defined(cpuaarch64)}
|
|
{$i objcnf.inc}
|
|
{$endif}
|
|
|
|
{$if defined(cpupowerpc32) or (defined(cpui386) and not defined(iphonesim))}
|
|
{$define targethandled}
|
|
{$i objc1.inc}
|
|
{$endif}
|
|
{$endif}
|
|
|
|
|
|
{$ifndef targethandled}
|
|
{$error Target not yet supported for objc.pp unit}
|
|
{$endif}
|