Browse Source

+ Added code for macos

olle 20 years ago
parent
commit
fefdf31dce
1 changed files with 5 additions and 0 deletions
  1. 5 0
      tests/tbs/tb0193.pp

+ 5 - 0
tests/tbs/tb0193.pp

@@ -19,8 +19,13 @@ end ['EAX'];
 end ['D0'];
 end ['D0'];
 {$endif CPU68K}
 {$endif CPU68K}
 {$ifdef cpupowerpc}
 {$ifdef cpupowerpc}
+{$ifndef macos}
        lis r3, stacksize@ha
        lis r3, stacksize@ha
        lwz r3, stacksize@l(r3)
        lwz r3, stacksize@l(r3)
+{$else macos}
+       lwz r3, stacksize(r2)
+       lwz r3, 0(r3)
+{$endif macos}
 end;
 end;
 {$endif cpupowerpc}
 {$endif cpupowerpc}
 {$ifdef cpusparc}
 {$ifdef cpusparc}