fpc/rtl/inc/objc.pp
2023-07-27 19:04:03 +02:00

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}