Browse Source

* search iphoneall rather than cocoaall for Cocoa types on Darwin/AArch64

git-svn-id: trunk@29922 -
Jonas Maebe 10 years ago
parent
commit
0203f5e32f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/symdef.pas

+ 1 - 1
compiler/symdef.pas

@@ -7420,7 +7420,7 @@ implementation
       begin
       begin
         if assigned(objc_fastenumeration) then
         if assigned(objc_fastenumeration) then
           exit;
           exit;
-        if not(target_info.system in [system_arm_darwin,system_i386_iphonesim]) then
+        if not(target_info.system in [system_arm_darwin,system_i386_iphonesim,system_aarch64_darwin]) then
           cocoaunit:='COCOAALL'
           cocoaunit:='COCOAALL'
         else
         else
           cocoaunit:='IPHONEALL';
           cocoaunit:='IPHONEALL';