浏览代码

* also run invoke tests if internal function call manager is available (which we prefer to the ffi one)

git-svn-id: trunk@39896 -
svenbarth 6 年之前
父节点
当前提交
c97b607e60
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      packages/rtl-objpas/tests/testrunner.rtlobjpas.pp

+ 4 - 0
packages/rtl-objpas/tests/testrunner.rtlobjpas.pp

@@ -6,9 +6,13 @@ program testrunner.rtlobjpas;
 {$mode objfpc}{$H+}
 {$mode objfpc}{$H+}
 { Invoke needs a function call manager }
 { Invoke needs a function call manager }
 {.$define useffi}
 {.$define useffi}
+{$if defined(CPUX64) and defined(WINDOWS)}
+{$define testinvoke}
+{$else}
 {$ifdef useffi}
 {$ifdef useffi}
 {$define testinvoke}
 {$define testinvoke}
 {$endif}
 {$endif}
+{$endif}
 
 
 uses
 uses
 {$ifdef useffi}
 {$ifdef useffi}