Browse Source

m68k: make the new register calling convention the default

git-svn-id: trunk@34828 -
Károly Balogh 8 years ago
parent
commit
38837ee973
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/globtype.pas

+ 2 - 0
compiler/globtype.pas

@@ -558,6 +558,8 @@ interface
        pocall_default = pocall_pascal;
        pocall_default = pocall_pascal;
 {$elseif defined(i386) or defined(x86_64)}
 {$elseif defined(i386) or defined(x86_64)}
        pocall_default = pocall_register;
        pocall_default = pocall_register;
+{$elseif defined(m68k)}
+       pocall_default = pocall_register;
 {$else}
 {$else}
        pocall_default = pocall_stdcall;
        pocall_default = pocall_stdcall;
 {$endif}
 {$endif}