Explorar o código

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

git-svn-id: trunk@39896 -
svenbarth %!s(int64=6) %!d(string=hai) anos
pai
achega
c97b607e60
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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+}
 { Invoke needs a function call manager }
 {.$define useffi}
+{$if defined(CPUX64) and defined(WINDOWS)}
+{$define testinvoke}
+{$else}
 {$ifdef useffi}
 {$define testinvoke}
 {$endif}
+{$endif}
 
 uses
 {$ifdef useffi}