From 0e8a21e84ab33426973f186ab17122548ccfff91 Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 6 Aug 2006 10:15:22 +0000 Subject: [PATCH] * also win64 git-svn-id: trunk@4368 - --- tests/test/cg/tcnvint4.pp | 5 +++++ tests/test/tlibrary1.pp | 2 +- tests/test/tlibrary2.pp | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/test/cg/tcnvint4.pp b/tests/test/cg/tcnvint4.pp index 90901740e2..19e3934dc1 100644 --- a/tests/test/cg/tcnvint4.pp +++ b/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 diff --git a/tests/test/tlibrary1.pp b/tests/test/tlibrary1.pp index ebd4587cd3..5668a6a11b 100644 --- a/tests/test/tlibrary1.pp +++ b/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} diff --git a/tests/test/tlibrary2.pp b/tests/test/tlibrary2.pp index aed4c606a5..b7c236a4f4 100644 --- a/tests/test/tlibrary2.pp +++ b/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}