|
@@ -17,9 +17,7 @@ unit objcbase;
|
|
|
|
|
|
interface
|
|
|
|
|
|
-{$ifndef FPC_HAS_FEATURE_OBJECTIVEC1}
|
|
|
-{$error ObjectiveC1 feature is not supported or not enabled.}
|
|
|
-{$endif}
|
|
|
+{$ifdef FPC_HAS_FEATURE_OBJECTIVEC1}
|
|
|
|
|
|
{$modeswitch objectivec1}
|
|
|
{$packrecords c}
|
|
@@ -255,6 +253,8 @@ type
|
|
|
function isContentDiscarded: Boolean; message 'isContentDiscarded';
|
|
|
end;
|
|
|
|
|
|
+{$endif FPC_HAS_FEATURE_OBJECTIVEC1}
|
|
|
+
|
|
|
implementation
|
|
|
|
|
|
end.
|