Browse Source

* Add define for android.

git-svn-id: branches/targetandroid@23479 -
yury 12 years ago
parent
commit
5aa0ba703d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      tests/test/cg/tcalcst6.pp
  2. 1 1
      tests/test/cg/tcalvar6.pp

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

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

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

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