Browse Source

m68k: define safecall_is_cdecl on m68k too in tcalvar6 and tcalst6

git-svn-id: trunk@36613 -
Károly Balogh 8 years ago
parent
commit
a12111e1bd
2 changed files with 6 additions and 6 deletions
  1. 3 3
      tests/test/cg/tcalcst6.pp
  2. 3 3
      tests/test/cg/tcalvar6.pp

+ 3 - 3
tests/test/cg/tcalcst6.pp

@@ -28,9 +28,9 @@ program tcalcst6;
   {$define tp}
 {$endif}
 
-{ On linux/i386 and linux/x86-64safecall is the same as cdecl, so it does not       }
-{ support all parameter types.                                      }
-{$if ((defined(linux) or defined(android)) and (defined(cpui386) or defined(cpux86_64)))}
+{ On linux/i386 and linux/x86-64 safecall is the same as cdecl, so it does not }
+{ support all parameter types.                                                 }
+{$if ((defined(linux) or defined(android)) and (defined(cpui386) or defined(cpux86_64) or defined(cpum68k))}
   {$define safecall_is_cdecl}
 {$endif}
 

+ 3 - 3
tests/test/cg/tcalvar6.pp

@@ -30,9 +30,9 @@ program tcalvar6;
   {$define tp}
 {$endif}
 
-{ On linux/i386 and linux/x86-64 afecall is the same as cdecl, so it does not       }
-{ support all parameter types.                                      }
-{$if ((defined(linux) or defined(android)) and (defined(cpui386) or defined(cpux86_64)))}
+{ On linux/i386 and linux/x86-64 safecall is the same as cdecl, so it does not }
+{ support all parameter types.                                                 }
+{$if ((defined(linux) or defined(android)) and (defined(cpui386) or defined(cpux86_64) or defined(cpum68k)))}
   {$define safecall_is_cdecl}
 {$endif}