浏览代码

Fix compilation of the two tests for jvm-android target

Pierre Muller 3 年之前
父节点
当前提交
3b8b549eaa
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      tests/test/jvm/tprop5.pp
  2. 1 1
      tests/test/jvm/tprop6.pp

+ 1 - 1
tests/test/jvm/tprop5.pp

@@ -7,7 +7,7 @@ Unit tprop5;
 interface
 interface
 
 
 uses
 uses
- jdk15;
+  {$ifdef java}jdk15{$else}androidr14{$endif};
 
 
 type
 type
  TBaseClass = class
  TBaseClass = class

+ 1 - 1
tests/test/jvm/tprop6.pp

@@ -7,7 +7,7 @@ Unit tprop6;
 interface
 interface
 
 
 uses
 uses
- jdk15;
+  {$ifdef java}jdk15{$else}androidr14{$endif};
 
 
 type
 type
  TBaseClassProp6 = class
  TBaseClassProp6 = class