Browse Source

* also win64

git-svn-id: trunk@4368 -
peter 19 years ago
parent
commit
0e8a21e84a
3 changed files with 8 additions and 3 deletions
  1. 5 0
      tests/test/cg/tcnvint4.pp
  2. 1 1
      tests/test/tlibrary1.pp
  3. 2 2
      tests/test/tlibrary2.pp

+ 5 - 0
tests/test/cg/tcnvint4.pp

@@ -110,6 +110,11 @@ begin
      failed:=true;
 
 
+  u32bit := high(u32bit);
+  result_val := u32bit;
+  if trunc(result_val) <> high(u32bit) then
+     failed:=true;
+
   u32bit := RESULT_U32BIT;
   result_val := u32bit;
   if trunc(result_val) <> RESULT_U32BIT then

+ 1 - 1
tests/test/tlibrary1.pp

@@ -8,7 +8,7 @@
 { The .so of the library needs to be in the current dir when
   testing the loading at runtime }
 
-{$ifdef win32}
+{$ifdef mswindows}
  {$define supported}
  {$define supportidx}
 {$endif win32}

+ 2 - 2
tests/test/tlibrary2.pp

@@ -2,9 +2,9 @@
 
 { Test program to test linking to fpc library }
 
-{$ifdef win32}
+{$ifdef mswindows}
  {$define supported}
-{$endif win32}
+{$endif mswindows}
 {$ifdef Unix}
  {$define supported}
 {$endif Unix}